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"