Skip to content

Commit

Permalink
change workflow to allow comment for the upload mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarts74 authored and moufmouf committed Jul 3, 2024
1 parent b119ab8 commit 5cb86dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: echo "MAP_STORAGE_API_KEY=${{ secrets.MAP_STORAGE_API_KEY }}" > .env.secret

- name: Extract UPLOAD_MODE from .env
run: echo "UPLOAD_MODE=$(grep UPLOAD_MODE .env | cut -d '=' -f2)" >> $GITHUB_ENV
run: echo "UPLOAD_MODE=$(grep '^[^#]*UPLOAD_MODE' .env | cut -d '=' -f2)" >> $GITHUB_ENV

- name: Deploy in MAP STORAGE
if: ${{ env.UPLOAD_MODE == 'MAP_STORAGE' }}
Expand Down

0 comments on commit 5cb86dd

Please sign in to comment.