Skip to content

Commit 471a9ab

Browse files
committed
CI deploy
1 parent 7cd789d commit 471a9ab

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/publish-docker.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,12 @@ jobs:
5757
subject-digest: ${{ steps.push.outputs.digest }}
5858
push-to-registry: true
5959

60-
- name: Notify Web Server (to pull latest image)
61-
run: 'curl -H "Authorization: Bearer ${{secrets.WATCHTOWER_HTTP_API_SECRET}}" http://ograf-devtool.superfly.tv:8088/v1/update'
60+
- name: Update deployment (pull latest image)
61+
uses: appleboy/ssh-action@v1
62+
with:
63+
host: ${{ secrets.HOST }}
64+
username: ${{ secrets.SSH_USERNAME }}
65+
password: ${{ secrets.SSH_PASSWORD }}
66+
port: ${{ secrets.SSH_PORT }}
67+
script: |
68+
docker compose up -d

0 commit comments

Comments
 (0)