Merge pull request #64 from peeweek/qol-external-output #230
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 Documentaion | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
update_documentation: | |
runs-on: ubuntu-latest | |
name: Update Mixture documentation with DocFX | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy documentation package files to docfx folder | |
run: cp -rv Packages/com.alelievr.mixture/Documentation~/** docs/docfx/manual/; cp docs/docfx/manual/GettingStarted.md docs/docfx/manual/index.md | |
shell: bash | |
# Generate documentation website with docfx | |
- uses: nikeee/[email protected] | |
name: Build Documentation | |
with: | |
args: docs/docfx/docfx.json | |
- name: Publish Documentation | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
BRANCH: hg-pages # The branch the action should deploy to. | |
FOLDER: docs # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch | |
# Publish generated site using GitHub Pages | |
# - uses: maxheld83/ghpages@master | |
# name: Publish Documentation on GitHub Pages | |
# env: | |
# BUILD_DIR: docs/docfx | |
# GH_PAT: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} |