.github: fix push job
This commit is contained in:
parent
b1b68dd2e9
commit
4cd9915a7c
3 changed files with 10 additions and 24 deletions
20
.github/actions/attic-push/action.yaml
vendored
20
.github/actions/attic-push/action.yaml
vendored
|
@ -1,20 +0,0 @@
|
|||
name: "Attic push"
|
||||
inputs:
|
||||
from:
|
||||
default: "."
|
||||
server-url:
|
||||
default: "https://attic.nrab.lol/"
|
||||
server-name:
|
||||
default: "nrab-attic"
|
||||
cache:
|
||||
default: "public"
|
||||
paths:
|
||||
default: "result"
|
||||
token:
|
||||
default: ${{ secrets.ATTIC_TOKEN }}
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: |
|
||||
nix run "${{ inputs.from }}"#attic -- login "${{ inputs.server-name }}" '${{ inputs.server-url }}' '${{ inputs.token }}'
|
||||
nix run "${{ inputs.from }}"#attic -- push "${{ inputs.server-name }}":"${{ inputs.cache }}" ${{ inputs.paths }}
|
2
.github/actions/install-nix/action.yaml
vendored
2
.github/actions/install-nix/action.yaml
vendored
|
@ -22,6 +22,6 @@ runs:
|
|||
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
|
||||
extra-trusted-public-keys = hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0=
|
||||
extra-trusted-public-keys = nrabulinski.cachix.org-1:Q5FD7+1c68uH74CQK66UWNzxhanZW8xcg1LFXxGK8ic=
|
||||
extra-trusted-public-keys = cache.nrab.lol-1:wIIyvCTlsk39uwKlBFOuVY+BXrPY3lUNAEpDN4H+O0Q=
|
||||
extra-trusted-public-keys = cache.nrab.lol-1:CJl1TouOyuJ1Xh4tZSXLwm3Upt06HzUNZmeyuEB9EZg=
|
||||
${{ inputs.extra-conf }}
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue