File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 permissions :
4343 contents : write
4444 packages : write
45+ actions : write
4546
4647 steps :
4748 - uses : actions/checkout@v4
@@ -176,15 +177,10 @@ jobs:
176177 - name : Delete snapshots artifacts from cache
177178 run : find ~/.m2 -name \*-SNAPSHOT -type d -exec rm -rf {} +
178179
179- deploy :
180- runs-on : ubuntu-latest
181- needs : main-root
182- if : ${{needs.main-root.outputs.is-main}}
183- permissions :
184- actions : write
185- steps :
186- - # dispatch workflow
187- env :
188- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
189- run : |
190- gh workflow run -R 'commonhaus/automation' deploy.yml
180+ - name : Trigger deploy
181+ id : trigger-deploy
182+ if : ${{needs.main-root.outputs.is-main}}
183+ env :
184+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
185+ run : |
186+ gh workflow run -R 'commonhaus/automation' deploy.yml
You can’t perform that action at this time.
0 commit comments