Skip to content

Commit ae6e8bf

Browse files
committed
only updated deploy img version
1 parent 2d9d5a2 commit ae6e8bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ jobs:
6262
run: sshpass -v -p ${{ secrets.DROPLET_PASSWORD }} scp -o StrictHostKeyChecking=no compose.yaml root@${{ vars.DROPLET_IP }}
6363

6464
- name: Deploy
65-
uses: appleboy/ssh-action@master
65+
uses: appleboy/ssh-action@v1.0.3
6666
with:
6767
host: ${{ vars.DROPLET_IP }}
6868
username: root
6969
password: ${{ secrets.DROPLET_PASSWORD }}
7070
script: |
71-
cd ~
71+
cd /
7272
docker-compose down
7373
docker-compose pull
7474
docker-compose up -d

0 commit comments

Comments
 (0)