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"}'