Skip to content

Commit

Permalink
#542: Build and publish documentation on release
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel authored Nov 22, 2020
1 parent 6170ef4 commit b7bc4e0
Showing 1 changed file with 9 additions and 13 deletions.
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/[email protected]
# 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/[email protected]
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

0 comments on commit b7bc4e0

Please sign in to comment.