Skip to content

Commit 8a98d51

Browse files
committed
update deploy method
1 parent 052df7c commit 8a98d51

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ jobs:
6161
- build-backend
6262
runs-on: ubuntu-latest
6363
steps:
64-
- name: Log into VPS
65-
uses: appleboy/ssh-action@master
64+
- name: Deploy
65+
uses: fjogeleit/http-request-action@v1
6666
with:
67-
host: ${{ secrets.HOST }}
68-
USERNAME: ${{ secrets.USERNAME }}
69-
PORT: ${{ secrets.PORT }}
70-
KEY: ${{ secrets.SSHKEY }}
71-
script: ./deploy.sh
67+
url: 'https://watchtower.kittybot.de/v1/update'
68+
method: 'POST'
69+
bearerToken: 'Bearer ${{ secrets.TOKEN }}'

0 commit comments

Comments
 (0)