Skip to content

Commit

Permalink
fix: try explicit export
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Jun 25, 2024
1 parent 8645ed8 commit d069353
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
REACT_APP_DOC_SEARCH_APP_ID: ${{ secrets.DOC_SEARCH_APP_ID }}
REACT_APP_DOC_SEARCH_INDEX_NAME: ${{ secrets.DOC_SEARCH_INDEX_NAME }}

steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -30,7 +26,10 @@ jobs:
run: npm ci

- name: Build website
run: npm run build
run: |
export REACT_APP_DOC_SEARCH_APP_ID=${{ secrets.DOC_SEARCH_APP_ID }}
export REACT_APP_DOC_SEARCH_INDEX_NAME=${{ secrets.DOC_SEARCH_INDEX_NAME }}
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
Expand Down

0 comments on commit d069353

Please sign in to comment.