Skip to content

Use devenv.sh to manage tooling (#64) #53

Use devenv.sh to manage tooling (#64)

Use devenv.sh to manage tooling (#64) #53

Workflow file for this run

---
on:
push:
branches:
- main
jobs:
build_and_publish:
name: Build and Publish
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- uses: cachix/cachix-action@v15
with:
name: devenv
- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
- name: Build
shell: devenv shell bash -- -e {0}
run: mdbook build
- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 03654dab23842c712e474f409d58f55c
command: pages deploy ./out/html --project-name=makerspace-wiki