remove numbering
Some checks are pending
Activate NixOS Homelab Configuration On Push / deploy (push) Has started running

This commit is contained in:
Satria 2026-03-14 11:25:54 +07:00
commit be24bb6bd3

View file

@ -15,17 +15,17 @@ jobs:
shell: /bin/sh -e {0} shell: /bin/sh -e {0}
steps: steps:
- name: 1. Clone Repository - name: Clone Repository
run: | run: |
rm -rf src rm -rf src
git clone https://git.satr14.my.id/satr14/nix-flake.git src git clone https://git.satr14.my.id/satr14/nix-flake.git src
- name: 2. Setup SSH Key - name: Setup SSH Key
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519 echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H localhost >> ~/.ssh/known_hosts ssh-keyscan -H localhost >> ~/.ssh/known_hosts
- name: 3. Deploy System over SSH - name: Deploy System over SSH
run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace run: nixos-rebuild switch --flake ./src#homelab --target-host root@localhost -L --show-trace