diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 5015d407..2ba4267d 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -21,6 +21,18 @@ 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: Set up SSH key to access age secrets + run: | + env + mkdir -p ~/.ssh + echo "${{ secrets.CD_SSH_KEY }}" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + + - name: Cache + - run: attic push demo $(nix-build) + check-mastodon: runs-on: native steps: diff --git a/machines/operator/test12/default.nix b/machines/operator/test12/default.nix index 87bfbf64..8f2d345f 100644 --- a/machines/operator/test12/default.nix +++ b/machines/operator/test12/default.nix @@ -19,10 +19,4 @@ gateway = "2a00:51c0:13:1305::1"; }; }; - - nixos.module = { - imports = [ - ../../../services/fediversity/attic - ]; - }; }