nixos-hypervisor/.forgejo/workflows/demo.yml
Workflow config file is invalid. Please check your config file: yaml: line 11: mapping values are not allowed in this context
2024-10-23 18:20:23 +02:00

19 lines
599 B
YAML

---
on: push
jobs:
test:
runs-on: docker
container:
image: nixos/nix:2.24.9
steps:
- uses: actions/checkout@v4
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Clone repo and connect to ssh
run: |
nix-shell -p git ssh-agents
git clone https://"${{ vars.GIT_USER }}":"${{ vars.GIT_PASS }}"@git.le43.eu/tbarnouin/nixos-hypervisor
cd nixos-hypervisor
ssh-add ${{ secrets.SSH_PRIVATE_KEY }}
ssh tbarnouin@192.168.1.40 echo "All set !"