1
0
Fork 0

improve actions by using cachix (#276)

This commit is contained in:
Pierre Penninckx 2024-08-14 23:57:57 -07:00 committed by GitHub
parent dfe94f59ae
commit 0c9cc7f5b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View file

@ -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 }}

View file

@ -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 \

View file

@ -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) [![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) [![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 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