From 5cb86ddae27e6760a55e06f0db6756a8de4e15cf Mon Sep 17 00:00:00 2001 From: alexandre artus Date: Tue, 2 Jul 2024 17:53:07 +0200 Subject: [PATCH] change workflow to allow comment for the upload mode --- .github/workflows/build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 893495c8..ad1277c2 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -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' }}