Skip to content

Commit

Permalink
Merge pull request #2053 from IDEMSInternational/fix/master-deploymen…
Browse files Browse the repository at this point in the history
…t-hosting

fix: master deployment hosting
  • Loading branch information
esmeetewinkel authored Aug 22, 2023
2 parents 8bb4d80 + 3cf9a87 commit 411c656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/web-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
# Set deployment from input, replacing branch slash name with suffix (`prod/my_deployment` -> `my_deployment`)
# https://stackoverflow.com/a/40524879
- name: Set deployment
if: ${{inputs.deployment && inputs.deployment != 'master'}}
if: ${{inputs.deployment && inputs.deployment != 'master' && inputs.deployment!='refs/heads/master'}}
run: |
echo "DEPLOYMENT_NAME=$(echo ${{inputs.deployment}} | sed 's/.*\///')" >> $GITHUB_ENV;
shell: bash
Expand Down

0 comments on commit 411c656

Please sign in to comment.