chore: move website update to separate release action
This commit is contained in:
18
.github/workflows/update-website.yml
vendored
Normal file
18
.github/workflows/update-website.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user