Merge pull request #166 from Shadsterwolf/patch-1 #82
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: Publish Doc Site (With Doc Build Action) | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: Publish Doc Site | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: 'true' | |
- name: Checkout Action Repo | |
uses: actions/checkout@v3 | |
with: | |
repository: vrchat/creators-docs-builder | |
ssh-key: ${{ secrets.ACTION_REPO_KEY }} | |
path: action | |
- name: Build Docs | |
uses: ./action | |
id: build-docs | |
with: | |
inputDir: 'Tools/Docusaurus' | |
outputDir: 'Tools/Published' | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: Tools/Published/ | |
cname: udonsharp.docs.vrchat.com |