Skip to content

getting rid of nix warning #26

getting rid of nix warning

getting rid of nix warning #26

Workflow file for this run

name: Build and Deploy Docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
working-directory: ./docs
run: bun install
- name: Build site
working-directory: ./docs
run: bun run build
- name: Commit and push built files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add docs/
git diff --quiet && git diff --staged --quiet || (git commit -m "Deploy docs [skip ci]" && git push)