Skip to content

Commit

Permalink
Merge pull request #157 from Kerosene-Labs/BIL-6-update-fixed
Browse files Browse the repository at this point in the history
BIL-6: e
  • Loading branch information
hlafaille authored Jan 2, 2025
2 parents 1010f96 + a92f833 commit eab60bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/target-specific-command/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
elif [[ "${{env.TARGET}}" == "develop" ]]; then
${{ inputs.develop }}
else
echo "Invalid target: ${{env.TARGET}}. Did you run the 'set-target' action?"
echo "Invalid target: '${{env.TARGET}}', did you run the 'set-target' action?"
exit 1
fi
shell: bash
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.ACCESS_TOKEN }}


- name: Set Target
uses: ./.github/actions/set-target

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
Expand Down Expand Up @@ -97,8 +100,11 @@ jobs:
- name: Install NPM Packages
run: npm i

- name: Build Distributable

- name: Set Target
uses: ./.github/actions/set-target

- name: Build Distributable for Target
uses: ./.github/actions/target-specific-command
with:
working_directory: ./frontend
Expand Down

0 comments on commit eab60bb

Please sign in to comment.