Update Authentication + Build Script
This commit is contained in:
11
.github/workflows/cd.yml
vendored
11
.github/workflows/cd.yml
vendored
@@ -3,8 +3,6 @@ name: Node.js CD
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -19,9 +17,10 @@ jobs:
|
||||
password: "!2Zc727cI1"
|
||||
port: 22
|
||||
script: |
|
||||
cd /home/root/apps/online-energieausweis
|
||||
cd ~/apps/online-energiausweis
|
||||
git reset --hard HEAD
|
||||
git clean -f -d
|
||||
git pull origin main
|
||||
git status
|
||||
pnpm install --prod
|
||||
pnpm run build
|
||||
pm2 restart online-energieausweis
|
||||
pnpm install
|
||||
bash build.sh
|
||||
|
||||
Reference in New Issue
Block a user