From d1d9932b52a7599e1c89563f2e840aef96a6748e Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Sun, 21 Jul 2024 09:51:32 +0800 Subject: [PATCH] Create update-docs.yml --- .github/workflows/update-docs.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/update-docs.yml diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml new file mode 100644 index 0000000..bac9f3b --- /dev/null +++ b/.github/workflows/update-docs.yml @@ -0,0 +1,18 @@ +name: Trigger Doc Update +on: + workflow_dispatch: + push: + paths-ignore: + - "README_EN.md" + - "README.md" + +jobs: + trigger-CMFA-update: + runs-on: ubuntu-latest + steps: + - name: Trigger update-dependencies + run: | + curl -X POST https://api.github.com/repos/pot-app/pot-docs/dispatches \ + -H "Accept: application/vnd.github.everest-preview+json" \ + -H "Authorization: token ${{ secret.TOKEN }}" \ + -d '{"event_type": "plugins-updated"}'