fix steps

This commit is contained in:
Kiara Grouwstra 2025-08-07 20:42:27 +02:00
parent 8be1aa02c4
commit ba0d3f351e
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
2 changed files with 7 additions and 4 deletions

View file

@ -12,7 +12,9 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo
- 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: Set up SSH key to access age secrets
run: | run: |
@ -22,4 +24,4 @@ jobs:
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
- name: Cache - name: Cache
run: attic push demo $(nix-build) run: nix-shell --run "attic push demo $(nix-build)"

View file

@ -21,7 +21,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix' - run: nix-shell --run 'nix-unit ./deployment/data-model-test.nix'
- run: attic login fediversity https://attic.fediversity.net ${{ secrets.ATTIC_PUSH_KEY }} && attic use demo - 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: Set up SSH key to access age secrets
run: | run: |
@ -31,7 +32,7 @@ jobs:
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
- name: Cache - name: Cache
run: attic push demo $(nix-build) run: nix-shell --run "attic push demo $(nix-build)"
check-mastodon: check-mastodon:
runs-on: native runs-on: native