Fix workflow conditional syntax

This commit is contained in:
Christopher C. Wells 2022-11-05 16:56:21 -07:00
parent 6f4308c91a
commit 2aeaf47ae0
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ jobs:
environment:
name: pr-${{ github.event.pull_request.number }}
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:
- uses: actions/checkout@v3
with:
@ -27,7 +27,7 @@ jobs:
environment:
name: pr-${{ github.event.pull_request.number }}
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:
- name: Destroy review app
uses: dokku/github-action@master