Add send Gotify
This commit is contained in:
parent
aaf54b2e34
commit
2fed01defa
@ -38,4 +38,12 @@ jobs:
|
|||||||
echo "$TAG" > versionagent.txt
|
echo "$TAG" > versionagent.txt
|
||||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./versionagent.txt s3://doc
|
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./versionagent.txt s3://doc
|
||||||
|
|
||||||
|
- name: Send message to Gotify
|
||||||
|
run: |
|
||||||
|
TAG="${{ github.ref }}"
|
||||||
|
TAG="${TAG#refs/tags/}"
|
||||||
|
TAG="${TAG#v}"
|
||||||
|
curl -X POST "https://push.adminlabs.space/message?token=${{ secrets.GOTIFY_TOKEN }}" -F "title=New version $TAG" -F "message=Create new version install_agent.sh $TAG" -F "priority=8"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user