forked from Fediversity/Fediversity
fix steps
This commit is contained in:
parent
f195a358ca
commit
0101d78167
2 changed files with 7 additions and 4 deletions
|
@ -12,7 +12,9 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
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
|
||||
run: |
|
||||
|
@ -22,4 +24,4 @@ jobs:
|
|||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
- name: Cache
|
||||
run: attic push demo $(nix-build)
|
||||
run: nix-shell --run "attic push demo $(nix-build)"
|
||||
|
|
|
@ -21,7 +21,8 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- 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
|
||||
run: |
|
||||
|
@ -31,7 +32,7 @@ jobs:
|
|||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
- name: Cache
|
||||
run: attic push demo $(nix-build)
|
||||
run: nix-shell --run "attic push demo $(nix-build)"
|
||||
|
||||
check-mastodon:
|
||||
runs-on: native
|
||||
|
|
Loading…
Add table
Reference in a new issue