Skip to content

Commit

Permalink
pkill -f main
Browse files Browse the repository at this point in the history
  • Loading branch information
YongHwan2161 authored May 8, 2024
1 parent d88d745 commit fbd9aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: 실행 중인 main 중지
run: |
echo "Running deployment script on VM..."
gcloud compute ssh ${{ secrets.VM_NAME }} --zone ${{ secrets.VM_ZONE }} --command 'sudo kill -HUP $(pidof main)'
gcloud compute ssh ${{ secrets.VM_NAME }} --zone ${{ secrets.VM_ZONE }} --command 'pkill -f main'
- name: Copy files to GCP VM
run: |
Expand Down

0 comments on commit fbd9aff

Please sign in to comment.