Skip to content

Commit cb8b4bc

Browse files
authored
Merge pull request #25 from HIGHFIVE-SW/apirequest
cdcd수정3
2 parents b3d2f00 + 5314425 commit cb8b4bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v3
14-
14+
1515
- name: Set execute permissions for deploy script
1616
run: chmod +x deploy_script.sh
1717

@@ -20,4 +20,4 @@ jobs:
2020
run: |
2121
echo "${{ secrets.SSH_PRIVATE_KEY }}" > id_rsa.pem
2222
chmod 600 id_rsa.pem
23-
ssh -i id_rsa.pem -o StrictHostKeyChecking=no [email protected] -p 50735 "cd ~/HIGHFIVE-AI/ && git pull origin main && ./deploy_script.sh"
23+
ssh -i id_rsa.pem -o StrictHostKeyChecking=no [email protected] -p 50735 "cd ~/HIGHFIVE-AI/ && git reset --hard origin/main && pull origin main && ./deploy_script.sh"

0 commit comments

Comments
 (0)