File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 GCP_ZONE : us-central1-a
3131 GCP_PROJECT_ID : ${{ secrets.GCP_PROJECT_ID }}
3232 run : |
33- gcloud compute ssh ${GCP_VM_NAME} --zone=${GCP_ZONE} --command="cd /opt/alfred && git config --global --add safe.directory /opt/alfred && git fetch origin && git reset --hard origin/main && git clean -fd -e credentials -e .env && chmod +x deployment/deploy.sh && ./deployment/deploy.sh"
34-
33+ gcloud compute ssh ${GCP_VM_NAME} --zone=${GCP_ZONE} --command="
34+ sudo git config --global --add safe.directory /opt/alfred &&
35+ cd /opt/alfred &&
36+ sudo git fetch origin &&
37+ sudo git reset --hard origin/main &&
38+ sudo git clean -fd -e credentials -e .env &&
39+ sudo chmod +x deployment/deploy.sh &&
40+ sudo ./deployment/deploy.sh
41+ "
3542 - name : Verify deployment
3643 env :
3744 GCP_VM_NAME : alfred-prod
You can’t perform that action at this time.
0 commit comments