diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index e4fae2e..a8fe67b 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -25,17 +25,6 @@ defaults: working-directory: frontend/gostarkme-web jobs: - create-envfile: - - runs-on: ubuntu-latest - - steps: - - name: Make envfile - uses: SpicyPizza/create-envfile@v1 - with: - ROOT: https://web3wagers.github.io/gostarkme/ - file_name: frontend/gostarkme-web/.env - # Build job build: runs-on: ubuntu-latest @@ -85,7 +74,11 @@ jobs: - name: Install dependencies run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js - run: ${{ steps.detect-package-manager.outputs.runner }} next build + env: + ROOT: ${{ vars.ROOT }} + run: | + echo "ROOT is ${{ vars.ROOT }}" + ${{ steps.detect-package-manager.outputs.runner }} next build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: