nixos-hypervisor/.forgejo/workflows/demo.yml
Théo Barnouin 814adf0da4
Some checks failed
/ test (push) Failing after 15s
Test CI : ssh connection
2024-10-23 18:12:34 +02:00

17 lines
474 B
YAML

---
on: push
jobs:
test:
runs-on: docker
container:
image: nixos/nix:2.24.9
steps:
- run: |
ls -alh
nix-shell -p git
git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor
cd nixos-hypervisor
nix-shell -p ssh-agents
eval $(ssh-agent -s)
ssh-add ${{ secrets.SSH_PRIVATE_KEY }}
ssh tbarnouin@192.168.1.40 echo "All set !"