mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-02 14:02:22 +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:
|
with:
|
||||||
credentialJson: ${{ secrets.PUB_CREDENTIAL_JSON }}
|
credentialJson: ${{ secrets.PUB_CREDENTIAL_JSON }}
|
||||||
relativePath: ./packages/iconoir-flutter
|
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
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {}
|
workflow_dispatch:
|
||||||
|
workflow_run:
|
||||||
|
workflows:
|
||||||
|
- Release
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Reference in a new issue