Skip to content

Commit

Permalink
Add autodeploy to gh-pages (#74)
Browse files Browse the repository at this point in the history
* Add autodeploy to gh-pages

Fixes #72.

* Add npm ci
  • Loading branch information
dminor authored Nov 29, 2024
1 parent f4f4bd1 commit 75bd8f5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3,347 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy gh-pages

on:
push:
branches:
- main
permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: >
npm ci --no-audit && npm run build
- uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: dist
clean: true
Loading

0 comments on commit 75bd8f5

Please sign in to comment.