From 024ccad3bd472faa277c28ca97d82fa2ea1a7b6a Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 6 Nov 2020 02:59:19 +0100 Subject: [PATCH] Fix json parsing of commit hash in workflow --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c749040d..999bb9ad 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: - name: Build run: | 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 uses: JamesIves/github-pages-deploy-action@releases/v3