Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinav232004 committed Feb 28, 2024
1 parent f887c99 commit 2d46529
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}

# - name: SSH into the VM
# env:
# CI: false
# run: |
# gcloud compute ssh ${{ secrets.GCP_INSTANCE_NAME}} --zone=${{ secrets.GCP_ZONE }} --command '
# ls -l
# '
- name: SSH into the VM
env:
CI: false
run: |
gcloud compute ssh ${{ secrets.GCP_INSTANCE_NAME}} --zone=${{ secrets.GCP_ZONE }} --command '
ls -l
'
# - name: SSH into the VM and clone the repo and install all dependencies
# run: |
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
CI: false
run: |
gcloud compute ssh ${{ secrets.GCP_INSTANCE_NAME}} --zone=${{ secrets.GCP_ZONE }} --command "
cd /etc/nginx/sites-enabled/ &&
cd /etc/nginx/sites-enabled &&
ls -l
# sudo sh -c "grep -E '^\s*try_files \$uri \$uri/ =404;' /etc/nginx/sites-enabled/default | grep -E -v '^\s*#' | sudo sed -i '/^\s*try_files \$uri \$uri\/ =404;/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ proxy_pass http:\/\/localhost:8000;' default" &&
# sudo sh -c "grep -E '^\s*try_files \$uri \$uri/ =404;' /etc/nginx/sites-enabled/default | grep -E -v '^\s*#' | sudo sed -i 's/^\(\s*try_files \$uri \$uri\/ =404;\)/# \1/' default"
Expand Down

0 comments on commit 2d46529

Please sign in to comment.