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