Skip to content

Commit

Permalink
Switch to workflow_dispatch flow #10559
Browse files Browse the repository at this point in the history
  • Loading branch information
rymsha committed May 15, 2024
1 parent b8126de commit 26fe0a4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
needs: [ publish_vars, build ]
strategy:
matrix:
repo: ["enonic/app-admin-home", "enonic/app-applications", "enonic/app-users", "enonic/app-standardidprovider", "enonic/app-xp-welcome" ]
repo: ["enonic/app-admin-home", "enonic/app-applications", "enonic/app-users", "enonic/app-standardidprovider" ]
runs-on: ubuntu-latest
if: needs.publish_vars.outputs.publish == 'true'
steps:
Expand All @@ -68,3 +68,18 @@ jobs:
event-type: xp
client-payload: >
${{ format('{{"ref" : "{0}" }}', github.ref) }}
dispatch_new:
needs: [ publish_vars, build ]
strategy:
matrix:
repo: ["enonic/app-xp-welcome" ]
runs-on: ubuntu-latest
if: needs.publish_vars.outputs.publish == 'true'
steps:
- name: Repository Dispatch
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repo: ${{ matrix.repo }}
workflow: gradle.yml

0 comments on commit 26fe0a4

Please sign in to comment.