Skip to content

Commit

Permalink
(build) Add ability to force publishing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Sep 14, 2020
1 parent f4f81d5 commit 2eb0a2b
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publishdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish Documentation

on:
workflow_dispatch:

jobs:
publish-docs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }}
WYAM_DEPLOY_REMOTE: "${{ github.event.repository.html_url }}"
WYAM_DEPLOY_BRANCH: "gh-pages"
runs-on: ubuntu-latest

steps:
- name: Checkout the requested branch
uses: actions/[email protected]
with:
fetch-depth: 0
ref: ${{ github.event.ref }}
- name: Cache Tools
uses: actions/[email protected]
with:
path: tools
key: ${{ runner.os }}-doc-tools-${{ hashFiles('setup.cake') }}
- name: Publishing documentaiton
uses: cake-build/cake-action@v1
with:
script-path: setup.cake
target: Force-Publish-Documentation
verbosity: Diagnostic
cake-version: 0.38.4
cake-bootstrap: true

0 comments on commit 2eb0a2b

Please sign in to comment.