From 8f5046efb50ed06cc3ae6d335cfa9f414285dc35 Mon Sep 17 00:00:00 2001 From: Gionata Date: Mon, 31 Jul 2023 15:30:15 +0200 Subject: [PATCH] Fix on yml for secrets pt3 --- .github/workflows/nextjs.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index d138da3..6dce2af 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -90,11 +90,8 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - name: Set environment variables - env: - NEXT_PUBLIC_BASE_PATH: ${{ secrets.NEXT_PUBLIC_BASE_PATH }} - run: echo "NEXT_PUBLIC_BASE_PATH=$NEXT_PUBLIC_BASE_PATH" >> $GITHUB_ENV - - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 + env: + NEXT_PUBLIC_BASE_PATH: ${{ secrets.NEXT_PUBLIC_BASE_PATH }}