treewide: change cache url

This commit is contained in:
Nikodem Rabuliński 2024-02-11 20:14:02 +01:00
parent b9c6372371
commit b29deecda5
4 changed files with 27 additions and 13 deletions

20
.github/actions/attic-push/action.yaml vendored Normal file
View 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 }}