diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index c7dbb5f..7b0d47f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -64,6 +64,10 @@ jobs: run: | scp "${{ env.IMAGE_PATH }}" remote:~ + - name: Cleanup cache after Nix build + run: | + nix-store --delete "${{ env.IMAGE_PATH }}" + - name: Deploy on remote run: | ssh remote <<\EOF