Skip to content

Commit

Permalink
[Test] Test Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gunyu1019 authored Jul 22, 2024
1 parent 653c565 commit 347eecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Deploy to Virtual Private Server(VPS)
run: |
deployment_response=$(curl http://deployment1.yhs.kr:5000/deploy?project_id=${{ env.ProjectID }} \
deployment_response=$(curl http://deployment1.yhs.kr:8000/deploy?project_id=${{ env.ProjectID }} \
-H 'Project-Token: ${{ secrets.PROJECT_TOKEN }}' \
-H 'Token: ${{ secrets.TOKEN }}')
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
shell: bash
- name: Apply a New Version
run: |
restart_response=$(curl http://deployment1.yhs.kr:5000/restart?project_id=${{ env.ProjectID }} \
restart_response=$(curl http://deployment1.yhs.kr:8000/restart?project_id=${{ env.ProjectID }} \
-H 'Project-Token: ${{ secrets.PROJECT_TOKEN }}' \
-H 'Token: ${{ secrets.TOKEN }}')
Expand All @@ -69,7 +69,7 @@ jobs:
shell: bash
- name: Checking Status
run: |
state_response=$(curl http://deployment1.yhs.kr:5000/state?project_id=${{ env.ProjectID }}
state_response=$(curl http://deployment1.yhs.kr:8000/state?project_id=${{ env.ProjectID }}
if [ state_response -eq "0" ]; then
echo "Success Deployment (Congratulations!)"
Expand Down

0 comments on commit 347eecb

Please sign in to comment.