Skip to content

Commit

Permalink
ci: add generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkaroid committed Mar 12, 2022
1 parent 27b88d7 commit ed41ff1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and documentation

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Installing dependencies
run: npm install
- name: Generating docs
run: npm run docs

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs

0 comments on commit ed41ff1

Please sign in to comment.