20 lines
498 B
YAML
20 lines
498 B
YAML
name: "Nix"
|
|
on:
|
|
push:
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: cachix/install-nix-action@v6
|
|
- uses: cachix/cachix-action@v3
|
|
with:
|
|
name: xe
|
|
- run: |
|
|
nix-build docker.nix
|
|
docker load -i result
|
|
docker tag xena/christinewebsite:latest xena/christinewebsite:$(echo $GITHUB_SHA | head -c7)
|
|
- run: |
|
|
nix-env -if ./nix/dhall-yaml.nix
|
|
dhall-to-yaml-ng --omit-empty --file site.dhall
|