mirror of https://github.com/snachodog/mybuddy.git
Fix workflow conditional syntax
This commit is contained in:
parent
6f4308c91a
commit
2aeaf47ae0
|
@ -10,7 +10,7 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: pr-${{ github.event.pull_request.number }}
|
name: pr-${{ github.event.pull_request.number }}
|
||||||
url: https://pr-${{ github.event.pull_request.number }}.dokku.baby-buddy.net
|
url: https://pr-${{ github.event.pull_request.number }}.dokku.baby-buddy.net
|
||||||
if: github.event_name == 'labeled' && github.event.label.name == 'to review'
|
if: ${{ github.event_name == 'labeled' && github.event.label.name == 'to review' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -27,7 +27,7 @@ jobs:
|
||||||
environment:
|
environment:
|
||||||
name: pr-${{ github.event.pull_request.number }}
|
name: pr-${{ github.event.pull_request.number }}
|
||||||
url: https://pr-${{ github.event.pull_request.number }}.dokku.baby-buddy.net
|
url: https://pr-${{ github.event.pull_request.number }}.dokku.baby-buddy.net
|
||||||
if: github.event_name == 'unlabeled' && github.event.label.name == 'to review'
|
if: ${{ github.event_name == 'unlabeled' && github.event.label.name == 'to review' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Destroy review app
|
- name: Destroy review app
|
||||||
uses: dokku/github-action@master
|
uses: dokku/github-action@master
|
||||||
|
|
Loading…
Reference in New Issue