Skip to content

Commit

Permalink
Merge pull request #14 from alexanderjordanbaker/GHPages
Browse files Browse the repository at this point in the history
Adding GH Pages documentation with auto-publishing
  • Loading branch information
alexanderjordanbaker authored Aug 18, 2023
2 parents 0a294ad + ad7736d commit 78b16ca
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci-release-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Doc Builder
on:
release:
types: [published]
permissions:
pages: write
id-token: write
jobs:
build:
name: Doc Builder
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Node dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Build docs
run: yarn build-docs
- name: Upload docs
uses: actions/upload-pages-artifact@v2
with:
path: docs
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy docs
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 78b16ca

Please sign in to comment.