-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72ce831
commit 131dfe4
Showing
1 changed file
with
1 addition
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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!🚀🚀🚀" |