Skip to content

Commit

Permalink
Adjust SKIP_BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Oct 11, 2023
1 parent 4cf5826 commit 724ada5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
BRANCH: ${{ github.ref_name }}
SOURCE_REPOSITORY_URL: "https://github.com/${{ github.repository }}"
INSPECT_JOB_URL: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
SKIP_BUILD_ENV: $SKIP_BUILD
SKIP_BUILD_ENV: "$SKIP_BUILD"

BUILD_ICON_URL: https://cdn-icons-png.flaticon.com/128/5110/5110294.png
SUCCESS_ICON_URL: https://cdn-icons-png.flaticon.com/128/1356/1356479.png
Expand Down Expand Up @@ -62,15 +62,15 @@ jobs:
echo "-----------------------"
echo Deploy to Namespace: ${{ env.DEPLOY_NAMESPACE }}
echo URL: https://${{ env.APP_HOST_URL }}
echo CLEAN_BUILDS: ${{ env.CLEAN_BUILDS }}
echo "CLEAN_BUILDS: ${{ env.CLEAN_BUILDS }}"
if [[ "${{ env.CLEAN_BUILDS }}" != "false" ]]; then
echo "CLEAN_BUILDS is not false, setting CLEAN_BUILDS_TEXT to TRUE"
echo CLEAN_BUILDS_TEXT="TRUE" >> $GITHUB_OUTPUT
else
echo "CLEAN_BUILDS is false, setting CLEAN_BUILDS_TEXT to FALSE"
echo CLEAN_BUILDS_TEXT="FALSE" >> $GITHUB_OUTPUT
fi
echo SKIP_BUILD: $SKIP_BUILD OR "${{ env.SKIP_BUILD_ENV }}" OR $SKIP_BUILD_ENV OR ${{ env.SKIP_BUILD_ENV }}
echo "SKIP_BUILD: $SKIP_BUILD OR ${{ env.SKIP_BUILD_ENV }} OR $SKIP_BUILD_ENV"
if [[ $SKIP_BUILD == "YES" ]]; then
echo "SKIP_BUILD is TRUE, setting SKIP_BUILD_TEXT to TRUE"
echo SKIP_BUILD_TEXT="TRUE" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 724ada5

Please sign in to comment.