From b76e9cbb9014e1dd4b298847dd988c830f7dd3fa Mon Sep 17 00:00:00 2001 From: SnaveSutit Date: Tue, 4 Mar 2025 18:09:24 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Environment=20variables=20in=20w?= =?UTF-8?q?rong=20location?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 49a3607..986b3e2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,11 @@ on: [push] jobs: build: + env: + # Env Secrets + PUBLIC_ALGOLIA_ID: ${{ secrets.PUBLIC_ALGOLIA_ID }} + PUBLIC_ALGOLIA_SEARCH_KEY: ${{ secrets.PUBLIC_ALGOLIA_SEARCH_KEY }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -29,6 +34,3 @@ jobs: FOLDER: build # The directory where your assets are generated GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token MESSAGE: 'Build: ({sha}) {msg}' # The commit message - # Env Secrets - PUBLIC_ALGOLIA_ID: ${{ secrets.PUBLIC_ALGOLIA_ID }} - PUBLIC_ALGOLIA_SEARCH_KEY: ${{ secrets.PUBLIC_ALGOLIA_SEARCH_KEY }}