geode/.github/workflows/update-site.yml
2024-11-07 16:12:46 +03:00

22 lines
548 B
YAML

name: Update Website
on:
workflow_dispatch:
jobs:
trigger:
name: Trigger site build
runs-on: ubuntu-latest
steps:
- 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'
})