File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 33
44# pull deploy branch
55cd ~ /projects/deepgit
6- git pull origin deploy
6+ git pull origin deploy --quiet
77
88# build and deploy the frontend
9- npm install
9+ npm --silent install
1010rm -rf dist
11- npm run build
11+ npm run --silent build
1212sudo rm -rf /var/www/deepgit-app/*
1313sudo cp -rf ~ /projects/deepgit/dist/* /var/www/deepgit-app/.
1414
1515# build and deploy the backend
1616source .venv/bin/activate
1717cd backend
18- pip install -r requirements.txt
18+ pip install -r requirements.txt --quiet
1919
2020# restart nginx and gunicorn
2121sudo systemctl restart nginx
Original file line number Diff line number Diff line change 3030 zone : ' us-central1-f'
3131 ssh_private_key : ' ${{ secrets.GCP_SSH_PRIVATE_KEY }}'
3232 script : ${{ github.workspace }}/.github/scripts/deploy_deepgit.sh
33+
34+ - id : ' check-deployment-status'
35+ run : |-
36+ echo '${{ steps.compute-ssh.outputs.stdout }}'
37+ echo '${{ steps.compute-ssh.outputs.stderr }}'
You can’t perform that action at this time.
0 commit comments