diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3e195713..7cc8f4eb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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', - }) diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index 877f4020..61d61f1f 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -10,7 +10,12 @@ concurrency: cancel-in-progress: true on: - workflow_dispatch: {} + workflow_dispatch: + workflow_run: + workflows: + - Release + types: + - completed jobs: build: