This commit is contained in:
parent
245fae8183
commit
0ca85eef33
1 changed files with 21 additions and 21 deletions
42
.github/workflows/ci.yml
vendored
42
.github/workflows/ci.yml
vendored
|
@ -14,29 +14,29 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: "https://github.com/DeterminateSystems/nix-installer-action@main"
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: "https://github.com/DeterminateSystems/magic-nix-cache-action@main"
|
||||||
- name: Run `nix build`
|
- name: Run `nix build`
|
||||||
run: nix build .
|
run: nix build .
|
||||||
- uses: actions/upload-pages-artifact@v3
|
# - uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
# with:
|
||||||
path: result/
|
# path: result/
|
||||||
|
|
||||||
deploy:
|
# deploy:
|
||||||
environment:
|
# environment:
|
||||||
name: github-pages
|
# name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
# url: ${{ steps.deployment.outputs.page_url }}
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
needs: build
|
# needs: build
|
||||||
permissions:
|
# permissions:
|
||||||
pages: write # to deploy to Pages
|
# pages: write # to deploy to Pages
|
||||||
id-token: write # to verify the deployment originates from an appropriate source
|
# id-token: write # to verify the deployment originates from an appropriate source
|
||||||
steps:
|
# steps:
|
||||||
- name: Deploy to GitHub Pages
|
# - name: Deploy to GitHub Pages
|
||||||
id: deployment
|
# id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
# uses: actions/deploy-pages@v4
|
||||||
with:
|
# with:
|
||||||
preview: true
|
# preview: true
|
||||||
|
|
Loading…
Reference in a new issue