mirror of
https://github.com/beta-nu-theta-chi/bylaws.git
synced 2025-12-07 11:44:47 +00:00
clean github pages and add write access
This commit is contained in:
parent
ac2f93ff56
commit
60048515d6
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -9,6 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -27,17 +28,10 @@ jobs:
|
|||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
- name: Build Project
|
- name: Build Project 2
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
nix build --experimental-features "nix-command flakes" .#deploy
|
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"
|
||||||
# - name: Upload artifact
|
|
||||||
# uses: actions/upload-pages-artifact@v3
|
|
||||||
# with:
|
|
||||||
# path: "result/site"
|
|
||||||
# - name: Deploy to GitHub Pages
|
|
||||||
# id: deployment
|
|
||||||
# uses: actions/deploy-pages@v4
|
|
||||||
Loading…
Reference in New Issue
Block a user