Compare commits
No commits in common. "c324aa76c1e94aa0a0b2a67451c122a600ed9f99" and "a7d9dd6c5c64ce082684b49dde7e6c25407af28c" have entirely different histories.
c324aa76c1
...
a7d9dd6c5c
2 changed files with 6 additions and 11 deletions
|
@ -1,8 +1,8 @@
|
||||||
name: Build_Deploy
|
name: Build_Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [ "Update_Flake" ]
|
workflows: ["Update_Flake"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
push:
|
push:
|
||||||
|
@ -30,17 +30,11 @@ jobs:
|
||||||
- run: colmena build -v --on @active-core
|
- run: colmena build -v --on @active-core
|
||||||
- run: colmena build -v --on @active
|
- run: colmena build -v --on @active
|
||||||
- run: colmena build -v --on @active-ext
|
- run: colmena build -v --on @active-ext
|
||||||
- run: colmena build -v --on @active-gitlab
|
- run: colmena build -v --on @active-gitlab
|
||||||
|
|
||||||
deploy_dns:
|
deploy_dns:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
needs: [ linter, build ]
|
needs: [linter, build]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# setup deploy key
|
- run: nix fmt -- --check .
|
||||||
- run: |
|
|
||||||
eval $(ssh-agent -s)
|
|
||||||
echo "${{ secrets.DEPLOY_KEY }}" | tr -d '\r' | ssh-add - > /dev/null
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
chmod 700 ~/.ssh
|
|
||||||
- run: colmena apply -v --on @active-dns
|
|
|
@ -7,6 +7,7 @@
|
||||||
# Return to using unstable once the current master is merged in
|
# Return to using unstable once the current master is merged in
|
||||||
# nixpkgs.url = "nixpkgs/nixos-unstable";
|
# nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
|
||||||
# utility stuff
|
# utility stuff
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
agenix.url = "github:ryantm/agenix";
|
agenix.url = "github:ryantm/agenix";
|
||||||
|
|
Loading…
Reference in a new issue