2020-02-07 22:49:04 +00:00
|
|
|
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
|
2020-02-13 22:45:21 +00:00
|
|
|
- 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
|