File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,11 @@ jobs:
5252 ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
5353 - name: Install dependencies
5454 run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
55- - name: Make .env fil
56- uses: SpicyPizza/create-envfile@v1
57- with:
58- envkey_NEXT_PUBLIC_BACKEND_URL: ${{ vars.BACKEND_URL }}
59- envkey_NEXT_PUBLIC_FRONTEND_URL: ${{ vars.FRONTEND_URL }}
60- envkey_NEXT_PUBLIC_GOOGLE_ANALYTICS_TAG_ID: ${{ vars.GOOGLE_ANALYTICS_TAG_ID }}
61- fail_on_empty: true
55+ - name: Make .env file
56+ run: |
57+ echo ${{ vars.DOTENV }} >> .env
58+ ls -a
59+ cat .env
6260 - name: Build and statically render nextjs with Next.js
6361 run: ${{ steps.detect-package-manager.outputs.manager }} run build
6462 - run: echo '' > ./out/_next/.nojekyll
You can’t perform that action at this time.
0 commit comments