Skip to content

Commit

Permalink
Added gh-pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matafokka authored Mar 9, 2024
1 parent bad64e0 commit f29f7bb
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://github.com/marketplace/actions/deploy-to-github-pages

name: Deploy to GitHub Pages

on:
release:
types: [created]
workflow_dispatch:

jobs:
deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./docs

0 comments on commit f29f7bb

Please sign in to comment.