Skip to content

Commit

Permalink
Modified secret name to resolve hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
armadi1809 committed Apr 22, 2024
1 parent 4513412 commit 371aa82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
scp -o StrictHostKeyChecking=no -r moviesDiary ${{ secrets.PRODUCTION_USERNAME }}@${{ secrets.PRODUCTION_SERVER }}:./moviesDiary.new
ssh -o StrictHostKeyChecking=no ${{ secrets.PRODUCTION_USERNAME }}@${{ secrets.PRODUCTION_HOST }} << 'ENDSSH'
ssh -o StrictHostKeyChecking=no ${{ secrets.PRODUCTION_USERNAME }}@${{ secrets.PRODUCTION_SERVER }} << 'ENDSSH'
echo "** restarting service tof apply new version **"
sudo service moviesDiary stop
echo "** service stopped **"
Expand Down

0 comments on commit 371aa82

Please sign in to comment.