Skip to content

Merge branch 'main' of github.com:lehmanator/resume.nix #15

Merge branch 'main' of github.com:lehmanator/resume.nix

Merge branch 'main' of github.com:lehmanator/resume.nix #15

Workflow file for this run

name: Build & Deploy Nix Artifacts
on:
workflow_dispatch:
push:
branches: ["main"]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
diagnostic-endpoint: ""
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
diagnostic-endpoint: ""
upstream-cache: https://lehmanator.cachix.org
use-flakehub: false
use-gha-cache: true
- uses: DeterminateSystems/flake-checker-action@main
with:
send-statistics: false
build:
needs: checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
diagnostic-endpoint: ""
- uses: DeterminateSystems/magix-nix-cache-action@main
diagnostic-endpoint: ""

Check failure on line 32 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build & Deploy Nix Artifacts

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 32, Col: 9): Unexpected value 'diagnostic-endpoint' .github/workflows/build.yml (Line: 33, Col: 9): Unexpected value 'upstream-cache'
upstream-cache: https://lehmanator.cachix.org
use-flakehub: false
use-gha-cache: true
- name: Build flake packages.default
run: nix build
- name: Build PDF
run: 'nix run .#pdf -- resume.pdf'
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload resume HTML artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./result"
- name: Upload resume PDF artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./resume.pdf"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4