forked from Fediversity/Fediversity
fix steps
This commit is contained in:
parent
8be1aa02c4
commit
ba0d3f351e
2 changed files with 7 additions and 4 deletions
|
@ -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)"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue