diff --git a/.gitea/workflows/release-staging.yaml b/.gitea/workflows/release-staging.yaml index 641e10d..d7b729e 100644 --- a/.gitea/workflows/release-staging.yaml +++ b/.gitea/workflows/release-staging.yaml @@ -37,7 +37,6 @@ jobs: echo "PORT=${{ vars.STAGING_PORT }}" >> .env echo "DB_CONN_STRING=${{ vars.DB_CONN_STRING }}" >> .env echo "DB_NAME=${{ vars.DB_NAME }}" >> .env - cat .env - name: Create Build run: npm run build @@ -49,4 +48,4 @@ jobs: - name: Release Build run: | - ssh -o StrictHostKeyChecking=no api@51.161.134.20 'source ~/.nvm/nvm.sh; cd cs-backend && echo "PORT=${{ vars.PORT }}" > .env && git pull && npm ci && npm run build && pm2 delete cellar-api && pm2 start npm --name cellar-api -- start' + ssh -o StrictHostKeyChecking=no api@51.161.134.20 'source ~/.nvm/nvm.sh; cd cs-backend && git pull && npm ci && npm run build && pm2 delete cellar-api && pm2 start npm --name cellar-api -- start'