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

23 lines
548 B
YAML
Raw Normal View History

name: Update Website
on:
workflow_dispatch:
jobs:
trigger:
name: Trigger site build
runs-on: ubuntu-latest
2024-11-07 08:12:46 -05:00
steps:
2024-11-07 08:12:46 -05:00
- name: Trigger build workflow on geode-sdk/website repository
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'
})