Skip to content

Commit

Permalink
improve actions by using cachix (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman authored Aug 15, 2024
1 parent dfe94f5 commit 0c9cc7f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c9cc7f

Please sign in to comment.