fix: handlers list that should be refetched in autorefresh mode #110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cleanup GitHub Pages on PR Close | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pages: write | |
pull-requests: write | |
concurrency: | |
group: deploy_report | |
cancel-in-progress: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch gh-pages branch | |
run: | | |
git fetch origin gh-pages:gh-pages | |
mkdir gh-pages | |
git --work-tree=gh-pages checkout gh-pages -- . | |
- name: Remove PR directory | |
run: | | |
rm -rf gh-pages/${{ github.event.pull_request.number }} | |
- name: Deploy report to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: gh-pages | |
destination_dir: . | |
force_orphan: true |