From 1a724fd4625a0aaa05ec786f104bfe51085f8259 Mon Sep 17 00:00:00 2001 From: alexandre artus Date: Thu, 25 Jul 2024 12:37:16 +0200 Subject: [PATCH] rename the workflow for Directory --- .github/workflows/build-and-deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 8d6c5be5..0b2d4a41 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -26,12 +26,12 @@ jobs: - name: "Build scripts" run: npm run build - - name: Use API key from secrets + - name: Get API KEY from secrets env: MAP_STORAGE_API_KEY: ${{ secrets.MAP_STORAGE_API_KEY }} run: echo "MAP_STORAGE_API_KEY=${MAP_STORAGE_API_KEY}" >> $GITHUB_ENV - - name: Use URL Map STORAGE from secrets + - name: Get MAP STORAGE URL from secrets env: MAP_STORAGE_URL: ${{ secrets.MAP_STORAGE_URL }} run: echo "MAP_STORAGE_URL=${MAP_STORAGE_URL}" >> $GITHUB_ENV @@ -42,7 +42,7 @@ jobs: - name: Extract UPLOAD_MODE from .env run: echo "UPLOAD_MODE=$(grep '^[^#]*UPLOAD_MODE' .env | cut -d '=' -f2)" >> $GITHUB_ENV - - name: Extract and format repository info + - name: Extract UPLOAD DIRECTORY from .env run: echo "UPLOAD_DIRECTORY=${{ github.actor }}-${{ github.event.repository.name }}" >> $GITHUB_ENV - name: Create or update .env file