added ntfy to build pipeline
All checks were successful
Preview / build-deploy (push) Successful in 33s
All checks were successful
Preview / build-deploy (push) Successful in 33s
This commit is contained in:
parent
d341d051b7
commit
017ad09ab9
1 changed files with 13 additions and 2 deletions
|
@ -27,6 +27,17 @@ jobs:
|
||||||
- name: rsync public directory
|
- name: rsync public directory
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/dist/* root@vps03.hadan-it.com:/data/webspace/techstack.preview.hadan.de/
|
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/dist/* root@vps03.hadan-it.com:/data/webspace/techstack.preview.hadan.de/
|
||||||
|
- name: ntfy-success-notifications
|
||||||
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
if: success()
|
||||||
|
with:
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
priority: 4
|
||||||
|
headers: '${{ secrets.NTFY_HEADERS }}'
|
||||||
|
tags: +1,partying_face,action,successfully,completed
|
||||||
|
details: Workflow has been successfully completed!
|
||||||
|
icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Forgejo_logo.svg/512px-Forgejo_logo.svg.png'
|
||||||
|
image: true
|
||||||
|
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue