From 09ecd746e81357e9fd77de77e991af6185405549 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 3 Jan 2025 21:41:23 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=B7=BB=E5=8A=A0=20GitHub=20Acti?= =?UTF-8?q?ons=20=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=BB=A5=E8=A7=A6=E5=8F=91?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-trigger.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/build-trigger.yml diff --git a/.github/workflows/build-trigger.yml b/.github/workflows/build-trigger.yml new file mode 100644 index 0000000..f82fac0 --- /dev/null +++ b/.github/workflows/build-trigger.yml @@ -0,0 +1,18 @@ +name: Trigger Backend Workflow + +on: + push: + branches: + - main + +jobs: + trigger-backend: + runs-on: ubuntu-latest + steps: + - name: Trigger backend workflow + run: | + curl -X POST \ + -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: token ${{ secrets.GHP }}" \ + https://api.github.com/repos/snowykami/server-status-server/dispatches \ + -d '{"event_type":"trigger-backend-workflow"}' \ No newline at end of file