Skip to content

Commit

Permalink
chore(docs): try custom workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
freeboub committed Aug 24, 2024
1 parent bb8e4cb commit 4726ce7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

name: deploy docs
on:
workflow_dispatch:
push:
branches:
- master
paths:
- '.github/workflows/deploy-docs.yml'
- 'website/**'

jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build docs
run: |
yarn --cwd website build
touch website/build/.nojekyll
- name: Deploy docs to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/build

permissions:
contents: write

0 comments on commit 4726ce7

Please sign in to comment.