Make tweaks to Borgmatic backups, monitoring (#89) #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
buildSystem: | |
name: Build system | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v14 | |
with: | |
extra-conf: allow-import-from-derivation = true | |
- name: Setup Attic cache | |
uses: ryanccn/[email protected] | |
with: | |
cache: e10 | |
endpoint: https://cache.e10.camp | |
token: ${{ secrets.ATTIC_TOKEN }} | |
- name: Use Cachix store | |
uses: cachix/cachix-action@v15 | |
with: | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
installCommand: nix profile install github:NixOS/nixpkgs/nixpkgs-unstable#cachix | |
name: e10 | |
- run: 'nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |
--accept-flake-config --show-trace | |
' | |
strategy: | |
matrix: | |
host: | |
- builder | |
- controller | |
- gateway | |
- htpc | |
- matrix | |
- monitor | |
- omnibus | |
name: Build | |
'on': | |
push: | |
branches: | |
- main |