Testing
This commit is contained in:
parent
b37d205201
commit
93d8a877f1
1 changed files with 9 additions and 1 deletions
|
@ -25,7 +25,15 @@ jobs:
|
|||
git config --global user.email '${{ github.actor }}@sysctl.io'
|
||||
git config --global user.name '${{ github.actor }}'
|
||||
git commit -am "[${{ github.job }}] [ACT] Flake Lock Update"
|
||||
git push https://${{ secrets.REPO_RW_TOKEN }}@git.sysctl.io/${{ github.repository }}.git
|
||||
git push
|
||||
- name: Trigger Deploy Workflow
|
||||
if: success()
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
https://git.sysctl.io/repos/albert/nix/actions/workflows/deploy/dispatches \
|
||||
-d '{"event_type": "deploy-rs-start"}'
|
||||
- name: Send Notification
|
||||
uses: actions/gotify-action@master
|
||||
if: always()
|
||||
|
|
Loading…
Add table
Reference in a new issue