update build file
This commit is contained in:
parent
4e24c3178f
commit
ab585df66a
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Rust
|
name: Build and Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -11,7 +11,6 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -33,3 +32,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npx webpack
|
npx webpack
|
||||||
|
|
||||||
|
- name: Github Pages - Setup
|
||||||
|
uses: actions/configure-pages@v5
|
||||||
|
|
||||||
|
- name: Github Pages - Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: "./www/dist"
|
||||||
|
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user