Skip to content

Commit

Permalink
Fix Litteralis Import : "A value containing spaces must be surrounded…
Browse files Browse the repository at this point in the history
… by quotes" (#1154)
  • Loading branch information
florimondmanca authored Jan 21, 2025
1 parent fa278d0 commit 23cd3b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/litteralis_import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ jobs:
run: |
echo "DATABASE_URL=${{ secrets.APP_LITTERALIS_IMPORT_DATABASE_URL }}" >> .env.local
echo "BDTOPO_DATABASE_URL=${{ secrets.BDTOPO_DATABASE_URL }}" >> .env.local
echo "APP_LITTERALIS_ENABLED_ORGS=${{ vars.APP_LITTERALIS_ENABLED_ORGS }}" >> .env.local
# Deal with JSON quotes
printf "APP_LITTERALIS_ENABLED_ORGS='%s'\n" '${{ vars.APP_LITTERALIS_ENABLED_ORGS }}' >> .env.local
- name: Override enabled orgs if defined by input
if: ${{ inputs.enabled_orgs }}
run: |
echo "APP_LITTERALIS_ENABLED_ORGS=${{ inputs.enabled_orgs }}" >> .env.local
# Deal with JSON quotes
printf "APP_LITTERALIS_ENABLED_ORGS='%s'\n" '${{ inputs.enabled_orgs }}' >> .env.local
- name: Init organization environment variables
run: |
Expand Down

0 comments on commit 23cd3b8

Please sign in to comment.