File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 2929
3030 - name : Run tests
3131 run : cargo test --no-default-features --features ${{ matrix.features }}
32+
33+ build-pages :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v4
37+ with :
38+ submodules : true
39+
40+ - uses : Swatinem/rust-cache@v2
41+
42+ - uses : actions/setup-node@v4
43+ with :
44+ node-version : lts/*
45+ cache : yarn
46+
47+ - name : Install dependencies
48+ working-directory : mindy-website/www
49+ run : yarn install --frozen-lockfile
50+
51+ - name : Build
52+ working-directory : mindy-website/www
53+ run : yarn build
54+
55+ - name : Upload site artifact
56+ uses : actions/upload-pages-artifact@v3
57+ with :
58+ path : mindy-website/www/dist/
59+
60+ deploy-pages :
61+ needs : build-pages
62+ runs-on : ubuntu-latest
63+ concurrency :
64+ group : pages
65+ cancel-in-progress : false
66+ permissions :
67+ pages : write
68+ id-token : write
69+ environment :
70+ name : github-pages
71+ url : ${{ steps.deploy.outputs.page_url }}
72+ steps :
73+ - name : Deploy to GitHub Pages
74+ id : deploy
75+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments