treewide: change cache url
This commit is contained in:
parent
b9c6372371
commit
b29deecda5
4 changed files with 27 additions and 13 deletions
20
.github/actions/attic-push/action.yaml
vendored
Normal file
20
.github/actions/attic-push/action.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
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 }}
|
Loading…
Add table
Add a link
Reference in a new issue