Fix json parsing of commit hash in workflow

This commit is contained in:
Misode
2020-11-06 02:59:19 +01:00
committed by GitHub
parent 9e49555be3
commit 024ccad3bd

View File

@@ -23,7 +23,7 @@ jobs:
- name: Build - name: Build
run: | run: |
npm install npm install
"npm run build -- --env.hash=${{ steps.get_mcdata_hash.outputs.data.commit.sha }}" "npm run build -- --env.hash=${{ fromJson(steps.get_mcdata_hash.outputs.data).commit.sha }}"
- name: Deploy - name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3 uses: JamesIves/github-pages-deploy-action@releases/v3