geode/.github/workflows/update-site.yml

27 lines
611 B
YAML
Raw Normal View History

# Update the install page on the geode-sdk/website repository
name: Update Website
on:
2024-06-22 17:44:12 -04:00
# # 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'
})