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 927a3c0 commit de8a788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
PEM: ${{secrets.PEM}}

- name: Copy build folder contents to server
run: scp -o StrictHostKeyChecking=no -i tcp.pem -r build/* [email protected]:/home/CodeUtsava7.0/build
run: sudo 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 ngnix"
Expand Down

0 comments on commit de8a788

Please sign in to comment.