Change la manière de détécter l'évènement GA
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
|||||||
# ...I merged a PR or pushed on the dev branch, thus deploy to the test env (dev)
|
# ...I merged a PR or pushed on the dev branch, thus deploy to the test env (dev)
|
||||||
if: |
|
if: |
|
||||||
(github.event_name == 'workflow_dispatch' && github.ref_name == 'main') ||
|
(github.event_name == 'workflow_dispatch' && github.ref_name == 'main') ||
|
||||||
((github.event.pull_request.merged == true || github.event.push == true) && github.ref_name == 'dev')
|
((github.event_name == 'pull_request' || github.event_name == 'push') && github.ref_name == 'dev')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: ${{ github.ref_name }}
|
environment: ${{ github.ref_name }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user