chore: move website update to separate release action

This commit is contained in:
Thomas Nordquist
2024-05-11 21:44:28 +02:00
parent 0c31843ed5
commit ee783f15c0
3 changed files with 19 additions and 13 deletions

18
.github/workflows/update-website.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Update Website
on: release
jobs:
update-website:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm run readme
- uses: stefanzweifel/git-auto-commit-action@v5