Skip to content

change(nix): add git to deps #26

change(nix): add git to deps

change(nix): add git to deps #26

Workflow file for this run

name: Build website
on:
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
- name: Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build development environment, run jupytext and quarto
uses: rrbutani/use-nix-shell-action@v1
with:
file: shell.nix
script: |
jupytext --sync pills/scripts/*.py --execute
git remote show origin
git status
quarto publish gh-pages --no-prompt --no-render
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}