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:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install nix
|
||||
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 }}
|
||||
run: |
|
||||
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
|
||||
uses: cachix/install-nix-action@v20
|
||||
|
||||
- uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: mycache
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
nix \
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[![Documentation](https://github.com/ibizaman/selfhostblocks/actions/workflows/pages.yml/badge.svg)](https://github.com/ibizaman/selfhostblocks/actions/workflows/pages.yml)
|
||||
[![Tests](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Fibizaman%2Fselfhostblocks%3Fbranch%3Dmain)](https://garnix.io) (using Garnix)
|
||||
![Demos](https://github.com/ibizaman/selfhostblocks/actions/workflows/Demo/badge.svg)
|
||||
[![demos](https://github.com/ibizaman/selfhostblocks/actions/workflows/Demo/badge.svg)](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
|
||||
building blocks for self-hosting. Indeed, SHB provides opinionated [building
|
||||
|
|
Loading…
Reference in a new issue