Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and publish documentation on release #542

Merged
merged 3 commits into from
Nov 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 9 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,16 @@ jobs:
with:
args: docs/help/docfx.json

# Disabled until know to be working
# - uses: JamesIves/github-pages-deploy-action@3.6.2
# name: Publish documentation to Github Pages
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: gh-pages
#
# # The folder the action should deploy.
# FOLDER: _site
#
# # Automatically remove deleted files from the deploy branch
# CLEAN: true
- uses: JamesIves/github-pages-deploy-action@3.6.2
name: Publish documentation to Github Pages
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/help/_site
TARGET_FOLDER: help
CLEAN: false

- name: Upload documentation as artifact
uses: actions/upload-artifact@v2
with:
path: _site
path: docs/help/_site