parent
3d04294c09
commit
9fee6e7d49
1 changed files with 6 additions and 8 deletions
|
@ -1,7 +1,9 @@
|
||||||
name: Deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
tag:
|
push:
|
||||||
|
tags:
|
||||||
|
- "**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -17,10 +19,6 @@ jobs:
|
||||||
docker.atomaka.com/budget:latest
|
docker.atomaka.com/budget:latest
|
||||||
docker.atomaka.com/budget:${{gitea.sha}}
|
docker.atomaka.com/budget:${{gitea.sha}}
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
run: |
|
||||||
with:
|
curl --oauth2-bearer ${{ secrets.WATCHTOWER_TOKEN }} \
|
||||||
host: ${{ secrets.SSH_HOST }}
|
${{ secrets.WATCHTOWER_HOST }}/v1/update?images=docker.atomaka.com/budget
|
||||||
username: ${{ secrets.SSH_USERNAME }}
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
script: |
|
|
||||||
bash "/boot/config/plugins/user.scripts/scripts/deploy budget/script"
|
|
||||||
|
|
Loading…
Reference in a new issue