From 4f36b18f05fbe69a0b56e45ed4e0aaabbb1dc188 Mon Sep 17 00:00:00 2001 From: tree Date: Mon, 20 Mar 2023 01:00:01 +0100 Subject: [PATCH] Update deploy --- .github/workflows/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2d82f0b..c073b76 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,3 +39,18 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist + + trigger_explore_rebuild: + needs: [deploy] + runs-on: ubuntu-latest + environment: + name: remote-triggers + steps: + - run: | + curl \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{secrets.PAT_TOKEN}}"\ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/utxo-foundation/utxo23-web/actions/workflows/gh-pages.yml/dispatches \ + -d '{"ref":"main"}'