From f8a6bf06ed12dc4f9b0f5d158669b1c4c9aa68c6 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 16 Jun 2022 20:44:04 +0100 Subject: [PATCH] ci: prerelease comparison should be to a string --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 281435c482..18f0b1bddb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -150,7 +150,7 @@ jobs: scope: athens-research vercel-args: './vercel-release/' # Poor mans ternary operator https://github.com/actions/runner/issues/409#issuecomment-727565588 - alias-domains: ${{ env.PRERELEASE && env.PRERELEASE_DOMAIN || env.RELEASE_DOMAIN }} + alias-domains: ${{ env.PRERELEASE == 'true' && env.PRERELEASE_DOMAIN || env.RELEASE_DOMAIN }} env: PRERELEASE: ${{ contains(github.ref, '-alpha.') || contains(github.ref, '-beta.') || contains(github.ref, '-rc.')}} PRERELEASE_DOMAIN: beta.athensresearch.org