Merge pull request 'develop to main' (#5) from develop into main
All checks were successful
Main / build-deploy (push) Successful in 34s
All checks were successful
Main / build-deploy (push) Successful in 34s
Reviewed-on: stiebke/techstack.hadan.de#5
This commit is contained in:
commit
b12dd723b5
3 changed files with 90 additions and 5 deletions
|
@ -27,6 +27,48 @@ 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:
|
||||||
|
title: 'Forgejo Actions'
|
||||||
|
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
|
||||||
|
|
||||||
|
- name: ntfy-failed-notifications
|
||||||
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
title: 'Forgejo Actions'
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
priority: 5
|
||||||
|
headers: '${{ secrets.NTFY_HEADERS }}'
|
||||||
|
tags: +1,partying_face,action,failed
|
||||||
|
details: Workflow has failed!
|
||||||
|
actions: 'default'
|
||||||
|
icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Forgejo_logo.svg/512px-Forgejo_logo.svg.png'
|
||||||
|
image: true
|
||||||
|
|
||||||
|
- name: ntfy-cancelled-notifications
|
||||||
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
if: cancelled()
|
||||||
|
with:
|
||||||
|
title: 'Forgejo Actions'
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
priority: 3
|
||||||
|
headers: '${{ secrets.NTFY_HEADERS }}'
|
||||||
|
tags: +1,partying_face,action,cancelled
|
||||||
|
details: Workflow has been cancelled!
|
||||||
|
actions: '[{"action": "view", "label": "Open portal", "url": "https://techstack.preview.hadan.de/", "clear": true}]'
|
||||||
|
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 }}."
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,49 @@ 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.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.hadan.de/
|
||||||
|
|
||||||
|
- name: ntfy-success-notifications
|
||||||
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
if: success()
|
||||||
|
with:
|
||||||
|
title: 'Forgejo Actions'
|
||||||
|
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
|
||||||
|
|
||||||
|
- name: ntfy-failed-notifications
|
||||||
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
title: 'Forgejo Actions'
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
priority: 5
|
||||||
|
headers: '${{ secrets.NTFY_HEADERS }}'
|
||||||
|
tags: +1,partying_face,action,failed
|
||||||
|
details: Workflow has failed!
|
||||||
|
actions: 'default'
|
||||||
|
icon: 'https://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Forgejo_logo.svg/512px-Forgejo_logo.svg.png'
|
||||||
|
image: true
|
||||||
|
|
||||||
|
- name: ntfy-cancelled-notifications
|
||||||
|
uses: https://github.com/niniyas/ntfy-action@master
|
||||||
|
if: cancelled()
|
||||||
|
with:
|
||||||
|
title: 'Forgejo Actions'
|
||||||
|
url: '${{ secrets.NTFY_URL }}'
|
||||||
|
topic: '${{ secrets.NTFY_TOPIC }}'
|
||||||
|
priority: 3
|
||||||
|
headers: '${{ secrets.NTFY_HEADERS }}'
|
||||||
|
tags: +1,partying_face,action,cancelled
|
||||||
|
details: Workflow has been cancelled!
|
||||||
|
actions: '[{"action": "view", "label": "Open portal", "url": "https://techstack.preview.hadan.de/", "clear": true}]'
|
||||||
|
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 }}."
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,6 @@
|
||||||
"idoc": "^1.34.1",
|
"idoc": "^1.34.1",
|
||||||
"remark": "^15.0.1",
|
"remark": "^15.0.1",
|
||||||
"remark-gfm": "^4.0.0",
|
"remark-gfm": "^4.0.0",
|
||||||
"to-vfile": "^7.2.4"
|
"to-vfile": "^8.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue