Skip to content

fix indentation

fix indentation #25

Workflow file for this run

name: CI
on:
push:
jobs:
build:
name: build site
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v24
with:
nix_on_tmpfs: true
nix_conf: |
experimental-features = nix-command flakes
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: nixbuild/nixbuild-action@v19
with:
nixbuild_token: ${{ secrets.NIXBUILD_TOKEN }}
generate_summary_for: 'workflow'
# - name: build site
# run: |
# nix build \
# --print-build-logs \
# --builders "" \
# --max-jobs 2 \
# --eval-store auto \
# --store ssh-ng://eu.nixbuild.net
- name: build and push container
run: |
STORE_PATH="$(
nix build \
--json \
--print-build-logs \
--builders "" \
--max-jobs 2 \
--eval-store auto \
--store ssh-ng://eu.nixbuild.net \
--system x86_64-linux \
.#pushContainer | \
jq -r '.[0].outputs.out'
)"
nix run --store ssh-ng://eu.nixbuild.net "$STORE_PATH"