diff --git a/.github/workflows/demo_deployment.yaml b/.github/workflows/demo_deployment.yaml index 56bb35996d..025c461ab2 100644 --- a/.github/workflows/demo_deployment.yaml +++ b/.github/workflows/demo_deployment.yaml @@ -17,7 +17,7 @@ jobs: deploy_dev: runs-on: ubuntu-latest name: Demo Development - if: github.event_name != 'push' || github.ref != 'master' + if: github.event_name != 'push' || github.ref_name != 'master' environment: name: Demo Development url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }} @@ -53,7 +53,7 @@ jobs: deploy_master: runs-on: ubuntu-latest name: Demo Production - if: github.event_name == 'push' && github.ref == 'master' + if: github.event_name == 'push' && github.ref_name == 'master' environment: name: Demo Production url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}