From b3c976b694954749758b8092529dfb095daf5a76 Mon Sep 17 00:00:00 2001 From: Jonah Aragon Date: Sun, 28 Aug 2022 22:32:46 -0500 Subject: [PATCH] Mirror to sourcehut --- .github/workflows/mirror.yml | 12 ++++++++++++ README.md | 1 + 2 files changed, 13 insertions(+) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index e356f976..659c28c0 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -29,3 +29,15 @@ jobs: with: source-repo: "git@github.com:privacyguides/privacyguides.org.git" destination-repo: "git@codeberg.org:privacyguides/privacyguides.org.git" + + - name: Cleanup + run: | + sudo rm -rf privacyguides.org.git + + - name: Mirror to SourceHut + uses: wearerequired/git-mirror-action@v1 + env: + SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }} + with: + source-repo: "git@github.com:privacyguides/privacyguides.org.git" + destination-repo: "git@git.sr.ht:~jonaharagon/privacyguides.org" diff --git a/README.md b/README.md index 8bb39371..2c4069e9 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ Submit stories or requests to: `freddy@privacyguides.org` [![Gitea](https://img.shields.io/static/v1?logo=gitea&label=&message=Gitea&color=000&style=for-the-badge)](https://code.privacyguides.dev/privacyguides/privacyguides.org) [![GitLab](https://img.shields.io/static/v1?logo=gitlab&label=&message=GitLab&color=000&style=for-the-badge)](https://gitlab.com/privacyguides/privacyguides.org) [![Codeberg](https://img.shields.io/static/v1?logo=codeberg&label=&message=Codeberg&color=000&style=for-the-badge)](https://codeberg.org/privacyguides/privacyguides.org) +[![SourceHut](https://img.shields.io/static/v1?logo=git&label=&message=SourceHut&color=000&style=for-the-badge)](https://git.sr.ht/~jonaharagon/privacyguides.org) ## Developing