aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-01-01 16:24:41 -0500
committerChristine Dodrill <me@christine.website>2021-01-01 16:25:45 -0500
commit9c5250d10a3ea877b6c939448c4b63649257079f (patch)
treee7c314e632955ab7fd9eebe9b4eec8fcff0d2e1f /.github
parent474fd908bca7ce2ae5e584351790d2394fce6ff2 (diff)
downloadxesite-9c5250d10a3ea877b6c939448c4b63649257079f.tar.xz
xesite-9c5250d10a3ea877b6c939448c4b63649257079f.zip
make this compatible with the new nix way of doing things
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nix.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index ab5e46a..aa9bb0d 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -15,13 +15,14 @@ jobs:
- uses: cachix/cachix-action@v7
with:
name: xe
- - run: nix-build
+ - run: nix-build --no-out-link
- name: Log into GitHub Container Registry
if: github.ref == 'refs/heads/main'
- run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
+ run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u Xe --password-stdin
- name: Docker push
if: github.ref == 'refs/heads/main'
run: |
+ nix-build ./docker.nix
docker load -i result
docker tag xena/christinewebsite:latest ghcr.io/xe/site:$GITHUB_SHA
docker push ghcr.io/xe/site