transactions: fix how invoke transaction v3 hash is calculated (#1460) #671
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload Data to Algolia Index | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- ".github/workflows/algolia-indexing.yml" | |
- "js/algolia-index.js" | |
- "components/**/*.adoc" | |
branches: | |
# - dev | |
- main | |
jobs: | |
upload_data: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true # Fetch Hugo themes (true OR recursive) | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Setup Node.js 16.15.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.15.x' | |
- name: Upload data to Algolia Index | |
shell: bash | |
env: | |
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} | |
ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }} | |
ALGOLIA_INDEX_NAME_PREFIX: ${{ secrets.ALGOLIA_INDEX_NAME_PREFIX }} | |
working-directory: ./js # equivalent of 'cd js' | |
run: | | |
yarn install | |
node algolia-index.js "$ALGOLIA_APP_ID" "$ALGOLIA_ADMIN_API_KEY" "$ALGOLIA_INDEX_NAME_PREFIX" |