Skip to content

fix: Update build.yml #8

fix: Update build.yml

fix: Update build.yml #8

Workflow file for this run

name: Build & Deploy Nix Artifacts
on:
workflow_dispatch:
push:
branches: ["main"]
jobs:
build:

Check failure on line 7 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: 7, Col: 3): The workflow must contain at least one job with no dependencies.
needs: checks
runs-on: ubuntu-latest
steps:
- name: Build flake outputs
run: nix build
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 artifacts
uses: actions/upload-pages-artifact@v3
with:
path: "./result"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4