update README #8
This file contains hidden or 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
| # .github/workflows/gh-pages.yml | |
| name: Deploy Jitter-Bug Tool | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # Give the GITHUB_TOKEN rights to push commits (contents) | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| # ensure the checkout uses the GITHUB_TOKEN credentials | |
| with: | |
| persist-credentials: true | |
| - name: Deploy to gh-pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| # this token uses the above permissions | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_branch: gh-pages | |
| # adjust to where your tool lives | |
| publish_dir: ./tools |