mirror of
https://github.com/beta-nu-theta-chi/bylaws.git
synced 2025-12-07 11:44:47 +00:00
add github pages runner
This commit is contained in:
parent
456fd72ee7
commit
3f069dcc4c
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -17,7 +17,20 @@ jobs:
|
|||||||
- name: Build Project
|
- name: Build Project
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sh build.sh
|
nix build --experimental-features "nix-command flakes" .#book
|
||||||
|
- name: Setup Pages
|
||||||
|
uses: actions/configure-pages@v5
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: "./result"
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
||||||
|
- name: Build Project
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
nix build --experimental-features "nix-command flakes" .#deploy
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "result/pdf/*,result/*.tar.gz"
|
artifacts: "result/pdf/*,result/*.tar.gz"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user