mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
workflow to update website on new releases
This commit is contained in:
parent
2254a50aca
commit
e72920e41f
1 changed files with 26 additions and 0 deletions
26
.github/workflows/update-site.yml
vendored
Normal file
26
.github/workflows/update-site.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Update the install page on the geode-sdk/website repository
|
||||
name: Update Website
|
||||
|
||||
on:
|
||||
# trigger when a new release is released
|
||||
release:
|
||||
types:
|
||||
- released
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
trigger:
|
||||
name: Trigger site build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v6
|
||||
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'
|
||||
})
|
Loading…
Reference in a new issue