Skip to content

Commit

Permalink
ci: include env secrets in build step (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingertips18 authored Jan 19, 2025
1 parent 7f9febf commit 47a1aa6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
run: npm ci --cache .npm --prefer-offline

- name: Run Build
env:
VITE_GOOGLE_MEASUREMENT_ID: ${{ secrets.VITE_GOOGLE_MEASUREMENT_ID }}
VITE_EMAILJS_SERVICE_ID: ${{ secrets.VITE_EMAILJS_SERVICE_ID }}
VITE_EMAILJS_PUBLIC_KEY: ${{ secrets.VITE_EMAILJS_PUBLIC_KEY }}
VITE_EMAILJS_TEMPLATE_ID: ${{ secrets.VITE_EMAILJS_TEMPLATE_ID }}
run: npm run build

- name: Check `dist` folder
Expand Down

0 comments on commit 47a1aa6

Please sign in to comment.