Update README to point to community repo #651
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: Deploy docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: brew install mdbook spirv-tools | |
- run: mkdir docs-build/ | |
- run: $(cd docs && mdbook build -d ../docs-build/book) | |
- run: .github/workflows/docs.sh | |
- run: mv target/doc docs-build/api | |
- uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: docs-build # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch |