use ssh over http
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
with:
|
||||
extra_nix_config: |
|
||||
extra-trusted-public-keys = localhost:TiRpr2LzamX/MCKBUmFlZ8inWz94QWGL88fMEHg9Kgc=
|
||||
extra-substituters = http://localhost:5000
|
||||
extra-substituters = http://root@localhost
|
||||
secret-key-files = /var/secrets/cache_privkey
|
||||
post-build-hook = /etc/nix/upload-to-cache.sh
|
||||
- name: Install SSH key
|
||||
|
||||
@@ -8,4 +8,4 @@ fi
|
||||
|
||||
export IFS=' '
|
||||
echo "Uploading paths" $OUT_PATHS
|
||||
exec nix copy --to "ssh://root@192.168.1.12" $OUT_PATHS
|
||||
exec nix copy --to "ssh://root@localhost" $OUT_PATHS
|
||||
|
||||
Reference in New Issue
Block a user