28 lines
741 B
YAML
28 lines
741 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- test-deploy
|
|
|
|
jobs:
|
|
build:
|
|
env:
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
name: build hive configuration
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- name: Install SSH key
|
|
uses: shimataro/ssh-key-action@v2
|
|
with:
|
|
key: ${{ secrets.SSH_KEY }}
|
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
with:
|
|
install_url: https://releases.nixos.org/nix/nix-2.28.5/install
|
|
- uses: http://github.com/cachix/cachix-action@v16
|
|
with:
|
|
name: colmena
|
|
- run: nix run .#colmena apply
|