fix: use local deploy flake
This commit is contained in:
@@ -19,7 +19,6 @@ jobs:
|
|||||||
NIX_CONFIG: |
|
NIX_CONFIG: |
|
||||||
extra-substituters = https://cache.nixos.org https://cache.hectic-lab.com/hectic
|
extra-substituters = https://cache.nixos.org https://cache.hectic-lab.com/hectic
|
||||||
extra-trusted-public-keys = hectic:KMQsKow4SoA9K2vOJlOljmx7/Zpf91Yy+5qEtxDDCzA=
|
extra-trusted-public-keys = hectic:KMQsKow4SoA9K2vOJlOljmx7/Zpf91Yy+5qEtxDDCzA=
|
||||||
DEPLOY_REVISION: ${{ gitea.sha }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout dispatched revision
|
- name: Checkout dispatched revision
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
@@ -68,6 +67,6 @@ jobs:
|
|||||||
-o IdentitiesOnly=yes \
|
-o IdentitiesOnly=yes \
|
||||||
-i "$HOME/.ssh/id_ed25519" \
|
-i "$HOME/.ssh/id_ed25519" \
|
||||||
neuro true
|
neuro true
|
||||||
# Deploy tool intentionally uses requested GitHub flake; revision matches checkout.
|
# Run deploy tool from checked-out Gitea revision; repository is not mirrored on GitHub.
|
||||||
nix run --refresh "github:hectic-lab/util.nix/${DEPLOY_REVISION}#deploy" -- \
|
nix run --refresh '.#deploy' -- \
|
||||||
push -- --flake '.#neuro|x86_64-linux' --target-host neuro --use-remote-sudo
|
push -- --flake '.#neuro|x86_64-linux' --target-host neuro --use-remote-sudo
|
||||||
|
|||||||
Reference in New Issue
Block a user