Skip to content

Commit

Permalink
add run on push
Browse files Browse the repository at this point in the history
  • Loading branch information
reigj1 committed Dec 4, 2024
1 parent d9490b3 commit bcc79db
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/update-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ jobs:
- run: exit 1

- uses: actions/setup-node@v3
with:
node-version: 18
- name: Dump Identity
run: |
mkdir -p ~/.config/dfx/identity/default
echo $DFX_IDENTITY_PREVIEW | base64 -d > ~/.config/dfx/identity/default/identity.pem
env:
DFX_IDENTITY_PREVIEW: ${{ secrets.DFX_IDENTITY_PREVIEW }}
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# - name: Dump Identity
# run: |
# mkdir -p ~/.config/dfx/identity/default
# echo $DFX_IDENTITY_PREVIEW | base64 -d > ~/.config/dfx/identity/default/identity.pem
# env:
# DFX_IDENTITY_PREVIEW: ${{ secrets.DFX_IDENTITY_PREVIEW }}

- name: Build website
run: |
npm install
npm run build
env:
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_HOST: ${{ secrets.CONTENTFUL_HOST }}
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
AIRTABLE_KEY: ${{ secrets.AIRTABLE_SA_PORTAL_SERVICE_ACCOUNT }}
YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
# - name: Build website
# run: |
# npm install
# npm run build
# env:
# CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
# CONTENTFUL_HOST: ${{ secrets.CONTENTFUL_HOST }}
# CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
# AIRTABLE_KEY: ${{ secrets.AIRTABLE_SA_PORTAL_SERVICE_ACCOUNT }}
# YOUTUBE_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}

- name: Update search index
run: |
Expand Down

0 comments on commit bcc79db

Please sign in to comment.