docs: add deploy to Koyeb button
This commit is contained in:
parent
c303a0e0d5
commit
574cdfc531
3 changed files with 10 additions and 3 deletions
|
|
@ -2,6 +2,11 @@
|
|||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import { execSync } from 'child_process'
|
||||
|
||||
// write release tag
|
||||
const commitShort = execSync('git rev-parse --short HEAD').toString().trim()
|
||||
fs.writeFileSync('./assets/release.json', JSON.stringify({ latestTag: `${commitShort} (docker)` }), 'utf8')
|
||||
|
||||
const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'))
|
||||
delete packageJson.optionalDependencies
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue