Skip to content

Commit 70ab50d

Browse files
fix(ci): set up .env before building static site
1 parent c6c95d8 commit 70ab50d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: npm ci
2727

28+
- name: Create .env file
29+
run: echo ${{ secrets.FRONTEND_ENV_BASE64 }} | base64 -d > .env
30+
2831
- name: Generate static files
2932
run: npm run generate
3033

0 commit comments

Comments
 (0)