remove numbering
Some checks are pending
Activate NixOS Homelab Configuration On Push / deploy (push) Has started running
Some checks are pending
Activate NixOS Homelab Configuration On Push / deploy (push) Has started running
This commit is contained in:
parent
6e8692e44e
commit
be24bb6bd3
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue