use secrets in workflow not action

This commit is contained in:
Daylin Morgan 2025-02-12 13:29:34 -06:00
parent 4350c26616
commit af9cabdf1a
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 8 additions and 7 deletions

View file

@ -27,13 +27,6 @@ runs:
BTRFS: ${{ inputs.btrfs }}
run: exec ${{ github.action_path }}/prepare.sh
# 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:

View file

@ -45,6 +45,14 @@ jobs:
with:
attic_token: ${{ secrets.ATTIC_TOKEN }}
# need ssh access for `oizys cache --service harmonica`
# TODO: use this in actions/nix?
- name: Setup SSH
uses: MrSquaare/ssh-setup-action@v3
with:
host: nix-cache.dayl.in
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: git checkout -B flake-lock
- name: Update nix flake