From d17537c724f2829ba8c0fad50d7bb73af726c92c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 25 Oct 2024 14:45:07 -0700 Subject: [PATCH] #17 Init silver-hand-deploy - Attempt to install Nix into the runner --- .gitea/workflows/silver-hand-deploy.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/silver-hand-deploy.yaml diff --git a/.gitea/workflows/silver-hand-deploy.yaml b/.gitea/workflows/silver-hand-deploy.yaml new file mode 100644 index 00000000..32ad2283 --- /dev/null +++ b/.gitea/workflows/silver-hand-deploy.yaml @@ -0,0 +1,24 @@ +name: Deploy NixOS System Configurations to Silver-Hand Hosts + +on: + push: + branches: [ main ] + paths: [ 'nix/nix-lab/**' ] + +jobs: + deploy: + defaults: + run: + working-directory: nix/nix-lab + runs-on: ubuntu-latest + steps: + - name: Checkout Jafner.net repo + uses: actions/checkout@v4 + - name: Install Nix + uses: cachix/install-nix-action@v30 + with: + github_access_token: ${{ secrets.RUNNER_GITHUB_TOKEN }} + - name: Check Nix Install + run: | + nix flake show github:NixOS/nixpkgs + nix --version \ No newline at end of file