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.
1 parent 7b073d0 commit 1554883Copy full SHA for 1554883
.github/workflows/docker.yml
@@ -29,3 +29,15 @@ jobs:
29
context: .
30
push: true
31
tags: ${{ secrets.DOCKERHUB_USERNAME }}/djangoblog:latest
32
+
33
+ - name: multiple command
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
0 commit comments