mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 15:15:50 -06:00
add ssh setup
This commit is contained in:
parent
75bb54d4c0
commit
4350c26616
2 changed files with 10 additions and 1 deletions
10
.github/actions/nix/action.yml
vendored
10
.github/actions/nix/action.yml
vendored
|
@ -27,7 +27,15 @@ runs:
|
|||
BTRFS: ${{ inputs.btrfs }}
|
||||
run: exec ${{ github.action_path }}/prepare.sh
|
||||
|
||||
- uses: daylinmorgan/lix-gha-installer-action@latest
|
||||
# need ssh access for `oizys cache --service harmonica`
|
||||
- name: Setup SSH
|
||||
uses: MrSquaare/ssh-setup-action@v3
|
||||
with:
|
||||
host: nix-cache.dayl.in
|
||||
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Install Lix
|
||||
uses: daylinmorgan/lix-gha-installer-action@latest
|
||||
with:
|
||||
extra-conf: ${{ inputs.nix_conf }}
|
||||
|
||||
|
|
1
.github/workflows/update.yml
vendored
1
.github/workflows/update.yml
vendored
|
@ -61,6 +61,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: >
|
||||
NIX_SSHOPTS='-l daylin'
|
||||
nix run .
|
||||
--
|
||||
cache
|
||||
|
|
Loading…
Add table
Reference in a new issue