Deploy Documentation #3
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: Deploy Documentation | |
| on: | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Pages | |
| id: setup_pages | |
| uses: actions/configure-pages@v5 # You need to add this step if you are NOT using custom domain | |
| - name: Deploy docs to GitHub Pages | |
| uses: nicnocquee/speed-docs-github-action@v1 | |
| with: | |
| content-path: "./docs" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| base-path: ${{ steps.setup_pages.outputs.base_path }} # You need to add this step if you are NOT using custom domain |