nixos-hypervisor/.forgejo/workflows/demo.yml

17 lines
407 B
YAML
Raw Normal View History

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 17:59:47 +02:00
nix --experimental-features 'nix-command flakes' build .#nginx
2024-10-23 17:35:49 +02:00
echo "All set !"
2024-10-23 17:51:01 +02:00