mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 15:15:50 -06:00
use secrets in workflow not action
This commit is contained in:
parent
4350c26616
commit
af9cabdf1a
2 changed files with 8 additions and 7 deletions
7
.github/actions/nix/action.yml
vendored
7
.github/actions/nix/action.yml
vendored
|
@ -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:
|
||||
|
|
8
.github/workflows/update.yml
vendored
8
.github/workflows/update.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue