homelab/.gitea/workflows/deploy.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 19: mapping key "with" already defined at line 16
Awen Lelu aaa55dae22 test
2025-11-12 12:20:10 +01:00

25 lines
707 B
YAML

on: [push]
jobs:
deploy:
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