improve actions by using cachix (#276)
This commit is contained in:
parent
dfe94f59ae
commit
0c9cc7f5b5
3 changed files with 12 additions and 2 deletions
7
.github/workflows/demo.yml
vendored
7
.github/workflows/demo.yml
vendored
|
@ -28,11 +28,16 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install nix
|
- name: Install nix
|
||||||
uses: cachix/install-nix-action@v20
|
uses: cachix/install-nix-action@v20
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v14
|
||||||
|
with:
|
||||||
|
name: mycache
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
- name: Build ${{ matrix.demo.name }} .#${{ matrix.demo.flake }}
|
- name: Build ${{ matrix.demo.name }} .#${{ matrix.demo.flake }}
|
||||||
run: |
|
run: |
|
||||||
cd demo/${{ matrix.demo.name }}
|
cd demo/${{ matrix.demo.name }}
|
||||||
|
|
5
.github/workflows/pages.yml
vendored
5
.github/workflows/pages.yml
vendored
|
@ -40,6 +40,11 @@ jobs:
|
||||||
- name: Install nix
|
- name: Install nix
|
||||||
uses: cachix/install-nix-action@v20
|
uses: cachix/install-nix-action@v20
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v14
|
||||||
|
with:
|
||||||
|
name: mycache
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: |
|
run: |
|
||||||
nix \
|
nix \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
[](https://github.com/ibizaman/selfhostblocks/actions/workflows/pages.yml)
|
[](https://github.com/ibizaman/selfhostblocks/actions/workflows/pages.yml)
|
||||||
[](https://garnix.io) (using Garnix)
|
[](https://garnix.io) (using Garnix)
|
||||||

|
[](https://github.com/ibizaman/selfhostblocks/actions/workflows/demo.yml)
|
||||||
|
|
||||||
SHB's (Self Host Blocks) is yet another server management tool whose goal is to provide better
|
SHB's (Self Host Blocks) is yet another server management tool whose goal is to provide better
|
||||||
building blocks for self-hosting. Indeed, SHB provides opinionated [building
|
building blocks for self-hosting. Indeed, SHB provides opinionated [building
|
||||||
|
|
Loading…
Add table
Reference in a new issue