Compare commits
2 commits
46241207ec
...
3a82681916
Author | SHA1 | Date | |
---|---|---|---|
3a82681916 | |||
7d32146ce2 |
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,7 @@ name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
tag:
|
tag:
|
||||||
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -16,3 +17,11 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
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
|
||||||
|
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