mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Fix json parsing of commit hash in workflow
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user