This commit is contained in:
Kiara Grouwstra 2025-08-07 21:59:36 +02:00
parent ba0d3f351e
commit 63638373b7
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
2 changed files with 6 additions and 14 deletions

View file

@ -13,15 +13,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure cache
run: nix-shell --run "attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo"
- name: Set up SSH key to access age secrets
- name: Cache
run: |
nix-shell --run "attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo"
env
mkdir -p ~/.ssh
echo "${{ secrets.CD_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Cache
run: nix-shell --run "attic push demo $(nix-build)"
nix-shell --run "attic push demo $(nix-build)"

View file

@ -21,18 +21,14 @@ jobs:
- uses: actions/checkout@v4
- run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
- name: Configure cache
run: nix-shell --run "attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo"
- name: Set up SSH key to access age secrets
- name: Cache
run: |
nix-shell --run "attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo"
env
mkdir -p ~/.ssh
echo "${{ secrets.CD_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Cache
run: nix-shell --run "attic push demo $(nix-build)"
nix-shell --run "attic push demo $(nix-build)"
check-mastodon:
runs-on: native