diff --git a/.github/workflows/ghpage.yml b/.github/workflows/ghpage.yml index dc43cf9..ba97967 100644 --- a/.github/workflows/ghpage.yml +++ b/.github/workflows/ghpage.yml @@ -36,7 +36,14 @@ jobs: - name: Install dependencies run: pnpm install - + + - name: Create Env File + run: | + touch apps/web/.env.local + echo NEXT_PUBLIC_PRIVATE_KEY=${{secrets.NEXT_PUBLIC_PRIVATE_KEY}} >> apps/web/.env.local + echo NEXT_PUBLIC_INFURA_API_KEY=${{secrets.NEXT_PUBLIC_INFURA_API_KEY}} >> apps/web/.env.local + echo NEXT_PUBLIC_SEPOLIA_CONTRACT=${{secrets.NEXT_PUBLIC_SEPOLIA_CONTRACT}} >> apps/web/.env.local + - name: Build my App run: pnpm run build