update release pipeline
Some checks failed
Bump deps (only minor versions) / ci (push) Has been cancelled
Some checks failed
Bump deps (only minor versions) / ci (push) Has been cancelled
This commit is contained in:
parent
6a731be767
commit
bf92e60d2b
1 changed files with 11 additions and 1 deletions
|
@ -21,12 +21,22 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Update deps, install them (to change package-lock.json) and commit
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y jq
|
||||||
|
|
||||||
- name: Prepare, Check, Lint and Format
|
- name: Prepare, Check, Lint and Format
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
touch .env
|
||||||
|
echo "HOST=0.0.0.0" >> .env
|
||||||
|
echo "ORIGIN=https://dl.emersa.it" >> .env
|
||||||
|
echo "YTDLP_PATH=./yt-dlp" >> .env
|
||||||
|
echo "PUBLIC_VERSION=$(cat package.json | jq .version)"
|
||||||
npm run build
|
npm run build
|
||||||
cp .env.example build/.env
|
|
||||||
cp package* build/
|
cp package* build/
|
||||||
|
cp .env build/
|
||||||
mkdir releases
|
mkdir releases
|
||||||
tar czvf releases/build.tar.gz build/
|
tar czvf releases/build.tar.gz build/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue