From 4eb2e6c210b2cfe9ea77d4b6cec1cc273a27e106 Mon Sep 17 00:00:00 2001 From: cnst Date: Sun, 27 Oct 2024 19:26:21 +0100 Subject: [PATCH] mirror test 2 --- .github/workflows/mirror.yml | 9 ++++++--- flake.nix | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index f0217a83..be08f212 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -10,14 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup SSH + uses: webfactory/ssh-agent@v0.5.3 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + - name: Mirror to SourceHut run: | git remote set-url --add --push origin git@git.sr.ht:~canasta/cnix git remote set-url --push origin --mirror=push git push --mirror - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/flake.nix b/flake.nix index 9b2bf293..e8f9f2db 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "cnix nix"; + description = "cnix nix v2"; outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} {