From 93d8a877f1d93737047fe3fb18df8d4460a0fb34 Mon Sep 17 00:00:00 2001 From: albert <albert@sysctl.io> Date: Wed, 12 Feb 2025 12:19:03 -0800 Subject: [PATCH] Testing --- .forgejo/workflows/update-flake-lock.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index a8313613..c568f905 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -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()