Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
virajchandra51 authored Sep 16, 2023
1 parent 72ce831 commit 131dfe4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,8 @@ jobs:
env:
PEM: ${{secrets.PEM}}

- name: Copy build folder contents to AWS
run: scp -o StrictHostKeyChecking=no -i tcp.pem -r build/* [email protected]:~/home/CodeUtsava7.0/build

- name: Doing the magic now
run: ssh -i tcp.pem [email protected] "sudo systemctl restart nginx"
run: ssh -i tcp.pem [email protected] "cd /home && sudo mkdir hui && sudo systemctl restart nginx"

- name: LIVE!!!
run: echo "Site is Live!🚀🚀🚀"

0 comments on commit 131dfe4

Please sign in to comment.