mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-11 16:41:12 -05:00
3fec377e96
--------- Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
26 lines
603 B
YAML
26 lines
603 B
YAML
# 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@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'
|
|
})
|