homelab/.gitea/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 22: mapping key "with" already defined at line 19
Awen Lelu 7f1cd8ab35
Some checks failed
/ Build Nix targets (push) Has been cancelled
add DeterministSystem cache
2025-11-12 11:11:39 +01:00

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