Skip to content

Commit 63fa63c

Browse files
authored
Update docker.yml
1 parent 0f8a443 commit 63fa63c

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,4 @@ jobs:
3030
push: true
3131
tags: ${{ secrets.DOCKERHUB_USERNAME }}/djangoblog:latest
3232

33-
- name: ssh deploy
34-
uses: appleboy/ssh-action@master
35-
with:
36-
host: ${{ secrets.HOST }}
37-
username: ${{ secrets.USERNAME }}
38-
key: ${{ secrets.KEY }}
39-
port: ${{ secrets.PORT }}
40-
script: |
41-
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/djangoblog:latest
42-
cd ${{ secrets.DOCKERPATH }}
43-
docker-compose up -d
44-
docker restart memcached
33+

0 commit comments

Comments
 (0)