We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3d2f00 + 5314425 commit cb8b4bcCopy full SHA for cb8b4bc
.github/workflows/deploy.yml
@@ -11,7 +11,7 @@ jobs:
11
steps:
12
- name: Checkout repository
13
uses: actions/checkout@v3
14
-
+
15
- name: Set execute permissions for deploy script
16
run: chmod +x deploy_script.sh
17
@@ -20,4 +20,4 @@ jobs:
20
run: |
21
echo "${{ secrets.SSH_PRIVATE_KEY }}" > id_rsa.pem
22
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"
+ 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