mirror of
https://github.com/beta-nu-theta-chi/bylaws.git
synced 2025-12-07 11:44:47 +00:00
add github pages runner (#3)
* add github pages runner * clean old script
This commit is contained in:
parent
456fd72ee7
commit
ac2f93ff56
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -17,7 +17,20 @@ jobs:
|
||||
- name: Build Project
|
||||
shell: bash
|
||||
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
|
||||
with:
|
||||
artifacts: "result/pdf/*,result/*.tar.gz"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user