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

29 lines
756 B
YAML

on:
push:
branches:
- master
- test-deploy
jobs:
build:
permissions:
contents: read
id-token: write
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