Update site build CI

This commit is contained in:
larzie 2024-11-07 16:12:46 +03:00 committed by GitHub
parent 23138cfc99
commit ba601d8855
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,26 +1,22 @@
# 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'
})
- 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'
})