From 730771f8e16c633147bbdf7d3893361d25f8ea3c Mon Sep 17 00:00:00 2001 From: soap Date: Tue, 9 Apr 2024 08:25:31 -0500 Subject: [PATCH] migrate away from codeberg --- .github/workflows/codeberg_mirror.yml | 38 --------------------------- README.md | 7 +++-- readme.html | 6 ++--- 3 files changed, 6 insertions(+), 45 deletions(-) delete mode 100644 .github/workflows/codeberg_mirror.yml diff --git a/.github/workflows/codeberg_mirror.yml b/.github/workflows/codeberg_mirror.yml deleted file mode 100644 index 5dba5aa5..00000000 --- a/.github/workflows/codeberg_mirror.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Mirror to Codeberg - -on: - workflow_dispatch: - push: - -jobs: - codeberg: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - token: ${{ secrets.PAT_TOKEN }} - - name: check for 404 - run: | - url="https://codeberg.org/diyhrt/pages" - status=$(curl -o /dev/null -s -w "%{http_code}" $url) - if [ $status -eq 404 ]; then - echo "Got 404. Exiting." - curl -H "Content-Type: application/json" -d '{"content": "${{ secrets.DISCORD_USER_ID }} $URL returned 404"}' ${{ secrets.WEBHOOK_URL }} - exit 1 - fi - - uses: pixta-dev/repository-mirroring-action@v1.1.1 - with: - target_repo_url: "git@codeberg.org:diyhrt/pages.git" - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} - secret_mirror: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - token: ${{ secrets.PAT_TOKEN }} - - uses: pixta-dev/repository-mirroring-action@v1.1.1 - with: - target_repo_url: "${{ secrets.SECRET_MIRROR_URL }}" - ssh_private_key: ${{ secrets.SECRET_SSH_PRIVATE_KEY }} diff --git a/README.md b/README.md index a6ac46ac..d6e37ce3 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,12 @@ This an archive of diyhrt.cafe, diyhrt.wiki, diyhrt.market, hrt.coffee, transfem https://hrt.soap.systems ### Locally -Use [this link](https://codeberg.org/diyhrt/pages/archive/main.zip) and it will start a download. To access the archive, open index.html with your browser. +Use [this link](https://github.com/soapingtime/diyhrt/archive/refs/heads/main.zip) and it will start a download. To access the archive, open index.html with your browser. ## Mirroring - I encourage you to start your own mirror, and open an issue or pull request if you would like it added to the readme. If you decide create a public mirror, it should be automatically updated by simply running `git pull` at least once a week (you can do this with a [simple cron job](https://stackoverflow.com/a/69553820)). Feel free to open an issue if you need any help. -This project is currently hosted on Codeberg and mirrored at [GitHub](https://soapingtime.github.io/diyhrt), [git.disroot.org](https://git.disroot.org/diyhrt/mirrors), [git.gay](https://git.gay/hrt/pages) [(html version)](https://hrt.pages.gay/) and [hrt.wtf](https://hrt.wtf) +This project is currently hosted on Github and mirrored at [git.disroot.org](https://git.disroot.org/diyhrt/mirrors), [git.gay](https://git.gay/hrt/pages) [(html version)](https://hrt.pages.gay/) and [hrt.wtf](https://hrt.wtf) ## Contact me -If you want to contact me about something here, start an issue on [GitHub](https://github.com/soapingtime/diyhrt/issues), [Codeberg](https://codeberg.org/diyhrt/pages/issues) or send me an email. +If you want to contact me about something here, start an issue on [GitHub](https://github.com/soapingtime/diyhrt/issues) or [send me an email](mailto:soaper@disroot.org). diff --git a/readme.html b/readme.html index dd57ca02..c5fa03fd 100644 --- a/readme.html +++ b/readme.html @@ -27,11 +27,11 @@

Online, no download required.

https://hrt.soap.systems

Locally

-

Use this link and it will start a download. To access the archive, open index.html with your browser.

+

Use this link and it will start a download. To access the archive, open index.html with your browser.

Mirroring

I encourage you to start your own mirror, and open an issue or pull request if you would like it added to the readme. If you decide create a public mirror, it should be automatically updated by simply running git pull at least once a week (you can do this with a simple cron job). Feel free to open an issue if you need any help.

-

This project is currently hosted on Codeberg and mirrored at GitHub, git.disroot.org, git.gay (html version) and hrt.wtf

+

This project is currently hosted on Github and mirrored at git.disroot.org, git.gay (html version) and hrt.wtf

Contact me

-

If you want to contact me about something here, start an issue on GitHub, Codeberg or send me an email.

+

If you want to contact me about something here, start an issue on GitHub or send me an email.