mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-03-13 16:58:33 +08:00
Update github pages workflow
This commit is contained in:
parent
1375af0ba0
commit
5e39e03e9e
19
.github/workflows/webapp.yml
vendored
19
.github/workflows/webapp.yml
vendored
@ -15,21 +15,6 @@ concurrency:
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run prepublish
|
||||
deploy:
|
||||
needs: build
|
||||
environment:
|
||||
@ -41,6 +26,10 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Build
|
||||
run: |
|
||||
npm install
|
||||
npm run prepublish
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user