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