mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-03 10:36:42 -07:00
switch to using determinate systems gha for ci
This commit is contained in:
parent
feb58d1fca
commit
d37819d6f3
1 changed files with 5 additions and 17 deletions
22
.github/workflows/deploy.yml
vendored
22
.github/workflows/deploy.yml
vendored
|
@ -15,25 +15,13 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v31
|
uses: DeterminateSystems/determinate-nix-action@v3
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
|
|
||||||
- name: Setup Nix store cache
|
- name: Setup FlakeHub Cache
|
||||||
uses: actions/cache@v4
|
uses: DeterminateSystems/flakehub-cache-action@main
|
||||||
with:
|
|
||||||
path: /nix/store
|
|
||||||
key: ${{ runner.os }}-nix-store-${{ hashFiles('**/flake.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-nix-store-
|
|
||||||
|
|
||||||
- name: Cache flake inputs
|
- name: Check Nix flake
|
||||||
uses: actions/cache@v4
|
uses: DeterminateSystems/nix-flake-checker-action@main
|
||||||
with:
|
|
||||||
path: ~/.cache/nix
|
|
||||||
key: ${{ runner.os }}-nix-flake-${{ hashFiles('**/flake.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-nix-flake-
|
|
||||||
|
|
||||||
- name: Build site (pull request)
|
- name: Build site (pull request)
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue