Skip to content

chore: Release release-test version 0.4.0-alpha.1 #65

chore: Release release-test version 0.4.0-alpha.1

chore: Release release-test version 0.4.0-alpha.1 #65

name: "Release push dispatch"
on:
workflow_dispatch:
push:
branches:
- main
- release-*
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.RIBIR_RELEASE }}
script: |-
await github.rest.actions.createWorkflowDispatch({
owner: 'M-Adoo',
repo: 'ribir-website',
workflow_id: 'sync-docs.yml',
ref: 'main',
inputs: {
branch_ref: "${{ github.ref }}"
},
}).catch(error => error).then(response => {
core.debug(response);
if (response.status !== 204) {
core.setFailed(`create workflow_dispatch received status code ${response.status}`);
}
});