From fd211eff840dfee626dda285bbcb538536ed3f0e Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Sun, 29 Jun 2025 21:01:54 +0300 Subject: [PATCH] Deploy CI hosts after all other deployments --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9fa2c9..6eba117 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,3 +45,17 @@ jobs: lfs: false - name: "Deploy profile" run: "auto-deploy ${{ matrix.profile }}" + deploy-ci: + needs: deploy + if: success() && github.ref == 'refs/heads/main' + runs-on: nix + env: + SSH_DEPLOY_KEY: "${{ secrets.SSH_DEPLOY_KEY }}" + steps: + - name: Initialize CI + uses: https://git.qo.is/qo.is/actions-nix-init@main + with: + token: ${{ secrets.CI_TOKEN }} + lfs: false + - name: "Deploy profile" + run: "auto-deploy system-ci"