new build

This commit is contained in:
Daniel Winkler 2025-01-26 19:43:47 +01:00
commit 74f15f1a67

View file

@ -23,14 +23,17 @@ concurrency:
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v29
- name: nix build
run: nix build .
- name: Adjust permissions
run: |
chown -R `id -u`:`id -g` ./result
chmod -R a+rwx ./result
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
@ -38,6 +41,13 @@ jobs:
with:
# Upload entire repository
path: '.'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4