Switch deployment to use watchtower #17

Merged
atomaka merged 2 commits from watchtower into main 2024-07-13 16:05:29 -04:00
Showing only changes of commit b82b315468 - Show all commits

View file

@ -17,10 +17,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"