forked from Fediversity/Fediversity
squish
This commit is contained in:
parent
ba0d3f351e
commit
63638373b7
2 changed files with 6 additions and 14 deletions
|
@ -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)"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue