Update github-pages.yml #9
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 Docs | |
on: | |
push: | |
branches: [ main ] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# If you need to build your docs (e.g., with Jekyll, MkDocs, etc.) | |
# Add those build steps here. For plain markdown, this may not be needed. | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
# If you're using Jekyll, you might need to use './_site' instead | |
path: './_site' | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v2 |