mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-10 02:16:41 +02:00
Use workflow_run event to run website workflow
This commit is contained in:
parent
c82cc456e1
commit
2684fd353d
11
.github/workflows/release.yaml
vendored
11
.github/workflows/release.yaml
vendored
|
@ -62,14 +62,3 @@ jobs:
|
|||
with:
|
||||
credentialJson: ${{ secrets.PUB_CREDENTIAL_JSON }}
|
||||
relativePath: ./packages/iconoir-flutter
|
||||
|
||||
- name: Trigger Website Workflow
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
github.rest.actions.createWorkflowDispatch({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
workflow_id: 'website.yaml',
|
||||
ref: 'main',
|
||||
})
|
||||
|
|
7
.github/workflows/website.yaml
vendored
7
.github/workflows/website.yaml
vendored
|
@ -10,7 +10,12 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
workflow_dispatch:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- Release
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
Loading…
Reference in a new issue