Skip to content

Commit b76e9cb

Browse files
committed
šŸ› Environment variables in wrong location
1 parent 3540f54 commit b76e9cb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ā€Ž.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ on: [push]
22

33
jobs:
44
build:
5+
env:
6+
# Env Secrets
7+
PUBLIC_ALGOLIA_ID: ${{ secrets.PUBLIC_ALGOLIA_ID }}
8+
PUBLIC_ALGOLIA_SEARCH_KEY: ${{ secrets.PUBLIC_ALGOLIA_SEARCH_KEY }}
9+
510
runs-on: ubuntu-latest
611
steps:
712
- uses: actions/checkout@v3
@@ -29,6 +34,3 @@ jobs:
2934
FOLDER: build # The directory where your assets are generated
3035
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token
3136
MESSAGE: 'Build: ({sha}) {msg}' # The commit message
32-
# Env Secrets
33-
PUBLIC_ALGOLIA_ID: ${{ secrets.PUBLIC_ALGOLIA_ID }}
34-
PUBLIC_ALGOLIA_SEARCH_KEY: ${{ secrets.PUBLIC_ALGOLIA_SEARCH_KEY }}

0 commit comments

Comments
Ā (0)