Use npm build script in workflow

This commit is contained in:
Misode
2020-11-06 03:28:47 +01:00
committed by GitHub
parent 1b4baa89ca
commit afdbf65f31

View File

@@ -23,7 +23,7 @@ jobs:
- name: Build
run: |
npm install
webpack-cli -p --env.hash='${{ fromJson(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