diff --git a/.gitea/workflows/trigger-desktop.yml b/.gitea/workflows/trigger-desktop.yml new file mode 100644 index 000000000..21784eecd --- /dev/null +++ b/.gitea/workflows/trigger-desktop.yml @@ -0,0 +1,20 @@ +name: Trigger Desktop Build + +on: + push: + branches: [lotus] + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Trigger cinny-desktop release build + env: + TOKEN: ${{ secrets.RELEASE_TOKEN }} + run: | + curl -sf -X POST \ + "https://code.lotusguild.org/api/v1/repos/LotusGuild/cinny-desktop/actions/workflows/release.yml/dispatches" \ + -H "Authorization: token $TOKEN" \ + -H "Content-Type: application/json" \ + -d '{"ref":"main"}' + echo "Desktop build triggered"