Update workflow to use a standardized label.

This commit is contained in:
Russell Keith-Magee 2023-01-10 13:45:55 +08:00
parent c255a8f484
commit 20bdd951ee
No known key found for this signature in database
GPG key ID: 3D2DAB6A37BB5BC3

View file

@ -7,7 +7,7 @@ jobs:
build:
name: Build and preview site
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'generate_preview')
if: contains(github.event.pull_request.labels.*.name, 'preview')
steps:
- uses: actions/checkout@v1
with: