Skip to content

Commit

Permalink
ci: Fix workflow for overview
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzleutgeb committed Mar 28, 2024
1 parent b34c710 commit 4f283bf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: overview

on:
push:

jobs:
# Build job
build:
runs-on: ubuntu-22.04
steps:
Expand All @@ -12,13 +16,14 @@ jobs:
with:
name: ngi
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix ${{ runner.debug && '--debug --print-build-logs' }} flake build .#overview
- run: nix ${{ runner.debug && '--debug --print-build-logs' }} build .#overview
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: result

deploy:
runs-on: ubuntu-22.04
needs: build
permissions:
contents: read
Expand All @@ -27,7 +32,6 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 4f283bf

Please sign in to comment.