Skip to content

Commit

Permalink
chore: add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Oct 24, 2023
1 parent 5d33ca5 commit c888b56
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish to gh-pages

on:
repository_dispatch:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: yarn
- run: yarn run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build

0 comments on commit c888b56

Please sign in to comment.