Deploy CI hosts after all other deployments
All checks were successful
All checks were successful
This commit is contained in:
parent
3b5abde73d
commit
fd211eff84
1 changed files with 14 additions and 0 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -45,3 +45,17 @@ jobs:
|
||||||
lfs: false
|
lfs: false
|
||||||
- name: "Deploy profile"
|
- name: "Deploy profile"
|
||||||
run: "auto-deploy ${{ matrix.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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue