2024-10-23 17:16:16 +02:00
|
|
|
---
|
|
|
|
on: push
|
|
|
|
jobs:
|
2024-10-23 17:35:49 +02:00
|
|
|
test:
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
|
|
|
image: nixos/nix:2.24.9
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
ls -alh
|
2024-10-23 17:51:01 +02:00
|
|
|
nix-shell -p git
|
2024-10-23 17:56:20 +02:00
|
|
|
git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor
|
2024-10-23 17:59:10 +02:00
|
|
|
cd nixos-hypervisor
|
2024-10-23 18:11:37 +02:00
|
|
|
nix-shell -p ssh-agents
|
|
|
|
eval $(ssh-agent -s)
|
|
|
|
ssh-add ${{ secrets.SSH_PRIVATE_KEY }}
|
|
|
|
ssh tbarnouin@192.168.1.40 echo "All set !"
|