update site on release

This commit is contained in:
Chloe authored and GitHub committed 2024-02-24 17:32:23 -07:00
1 parent d7021ba54c
commit ff40776458
1 file changed
+24
+24
View File
@@ -0,0 +1,24 @@
name: Update Website
on:
release:
types:
- released
workflow_dispatch:
jobs:
trigger:
name: Trigger site build
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.GEODE_BOT_PUSH_BIN_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'geode-sdk',
repo: 'website',
workflow_id: 'build.yml',
ref: 'main'
})