From de46fee864818c8174aa63342378f18fb686ea72 Mon Sep 17 00:00:00 2001 From: Ailin Nemui Date: Sat, 11 Jun 2022 15:10:08 +0200 Subject: [PATCH] update website --- .github/workflows/trigger-pages.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/trigger-pages.yml diff --git a/.github/workflows/trigger-pages.yml b/.github/workflows/trigger-pages.yml new file mode 100644 index 00000000..e0d4b8ed --- /dev/null +++ b/.github/workflows/trigger-pages.yml @@ -0,0 +1,20 @@ +on: + push: + branches: + - master + +jobs: + rebuild-pages: + if: github.repository == 'irssi/irssi' + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + github-token: ${{ secrets.PAT_TOKEN }} + script: | + await github.rest.actions.createWorkflowDispatch({ + owner: context.repo.owner, + repo: 'irssi.github.io', + workflow_id: 'pages.yml', + ref: 'main' + }) \ No newline at end of file