Skip to content

Merge pull request #62 from nix-community/nixfmt-auto-root-flag #32

Merge pull request #62 from nix-community/nixfmt-auto-root-flag

Merge pull request #62 from nix-community/nixfmt-auto-root-flag #32

Workflow file for this run

name: Deploy bun2nix documentation
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-config:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Build Docs
run: nix build .#docs --accept-flake-config
# Upload artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: result/lib/bun2nix-docs/
deploy:
needs: build-config
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4