From 58f9edfba4d9f668bfc7f9393202a01e41d99cf1 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 9 Jul 2023 21:23:56 +0100 Subject: [PATCH] Create mirror.ymlAdd a workflow to mirror repo to CodeBerg --- .github/workflows/mirror.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..44c11f4 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,16 @@ +# Pushes the contents of the repo to the Codeberg mirror +name: 🪞 Mirror to Codeberg +on: + workflow_dispatch: + schedule: + - cron: '30 0 * * 0' +jobs: + codeberg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: { fetch-depth: 0 } + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: git@codeberg.org:alicia/web-check.git + ssh_private_key: ${{ secrets.CODEBERG_SSH }}