Skip to content

Commit

Permalink
👷 Added CI for deploying documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Jan 6, 2023
1 parent 6cd63e1 commit 2b7c218
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy documentation
on:
push:
branches:
- master

permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'

- name: Install dependencies & build
run: |
npm ci
npm run build:doc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/doc
branch: gh-pages

0 comments on commit 2b7c218

Please sign in to comment.