Skip to content

Commit

Permalink
debug variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikmonsen committed May 15, 2024
1 parent a4c8a11 commit 005b055
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ jobs:

- name: Set environment variables based on ref
run: |
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
echo "CATALOGUE_API_PATH=${{ secrets.CATALOGUE_PROD_API_PATH }}" >> $GITHUB_ENV
else
echo "CATALOGUE_API_PATH=${{ secrets.CATALOGUE_STAGE_API_PATH }}" >> $GITHUB_ENV
fi
echo "CATALOGUE_API_PATH=http://localhost:8087/bikube" >> $GITHUB_ENV
# if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
# echo "CATALOGUE_API_PATH=${{ secrets.CATALOGUE_PROD_API_PATH }}" >> $GITHUB_ENV
# else
# echo "CATALOGUE_API_PATH=${{ secrets.CATALOGUE_STAGE_API_PATH }}" >> $GITHUB_ENV
# fi

- name: Build application
run: npm run build
Expand Down

0 comments on commit 005b055

Please sign in to comment.