Skip to content

Commit

Permalink
fix(action): using github secret to populate env file
Browse files Browse the repository at this point in the history
  • Loading branch information
bdebon committed Nov 17, 2022
1 parent 3369952 commit c8751bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
push:
branches:
- main

env:
NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }}
NEXT_PUBLIC_SLUG_FOR_OFFICIAL_PREVIEW: ${{ secrets.NEXT_PUBLIC_SLUG_FOR_OFFICIAL_PREVIEW }}
NEXT_PUBLIC_WEBSITE_URL: ${{ secrets.NEXT_PUBLIC_WEBSITE_URL }}

jobs:
test-and-build:
uses: ./.github/workflows/test-and-build.yml
Expand Down

0 comments on commit c8751bd

Please sign in to comment.