mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
Update site build CI
This commit is contained in:
parent
23138cfc99
commit
ba601d8855
1 changed files with 12 additions and 16 deletions
28
.github/workflows/update-site.yml
vendored
28
.github/workflows/update-site.yml
vendored
|
@ -1,26 +1,22 @@
|
||||||
# Update the install page on the geode-sdk/website repository
|
|
||||||
name: Update Website
|
name: Update Website
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# # trigger when a new release is released
|
|
||||||
# release:
|
|
||||||
# types:
|
|
||||||
# - released
|
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
trigger:
|
trigger:
|
||||||
name: Trigger site build
|
name: Trigger site build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v7
|
- name: Trigger build workflow on geode-sdk/website repository
|
||||||
with:
|
uses: actions/github-script@v7
|
||||||
github-token: ${{ secrets.GEODE_BOT_PUSH_BIN_TOKEN }}
|
with:
|
||||||
script: |
|
github-token: ${{ secrets.GEODE_BOT_PUSH_BIN_TOKEN }}
|
||||||
await github.rest.actions.createWorkflowDispatch({
|
script: |
|
||||||
owner: 'geode-sdk',
|
await github.rest.actions.createWorkflowDispatch({
|
||||||
repo: 'website',
|
owner: 'geode-sdk',
|
||||||
workflow_id: 'build.yml',
|
repo: 'website',
|
||||||
ref: 'main'
|
workflow_id: 'build.yml',
|
||||||
})
|
ref: 'main'
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue