Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mataeLee authored Oct 11, 2024
1 parent b3d76ac commit 5ac309d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
- name: Restart Nginx (Optional)
run: |
ssh ${{ env.AWS_EC2_USERNAME }}@${{ env.AWS_EC2_DNS }} << EOF
sudo rm -rf /var/www/html/*
sudo mv /home/ubuntu/catchweak-web/* /var/www/html/
sudo chown -R www-data:www-data /var/www/html/
sudo systemctl restart nginx
Expand Down

0 comments on commit 5ac309d

Please sign in to comment.