Add deploy step to GitHub pages #2
Workflow file for this run
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
| name: CI | ||
| on: | ||
| push: | ||
| tags: | ||
| - "*.*.*" | ||
| jobs: | ||
| deploy: | ||
| # Call the main build workflow | ||
| uses: ./.github/workflows/build-guidelines.yml | ||
| # If your main workflow is in a different file, adjust the path accordingly | ||
| name: Deploy | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: peaceiris/actions-gh-pages@v4 | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| publish_dir: ./build/html | ||