aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/nix.yml
blob: 1c09d870ba5394fcde0f694dcc2ef4fdba82827f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)