mirror of
https://github.com/soapingtime/diyhrt.git
synced 2026-03-22 23:26:24 +00:00
migrate away from codeberg
This commit is contained in:
parent
e90f18aa84
commit
730771f8e1
3 changed files with 6 additions and 45 deletions
38
.github/workflows/codeberg_mirror.yml
vendored
38
.github/workflows/codeberg_mirror.yml
vendored
|
|
@ -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 }}
|
||||
|
|
@ -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).
|
||||
|
|
|
|||
|
|
@ -27,11 +27,11 @@
|
|||
<h3>Online, no download required.</h3>
|
||||
<p>https://hrt.soap.systems</p>
|
||||
<h3>Locally</h3>
|
||||
<p>Use <a href="https://codeberg.org/diyhrt/pages/archive/main.zip" rel="nofollow">this link</a> and it will start a download. To access the archive, open index.html with your browser.</p>
|
||||
<p>Use <a href="https://github.com/soapingtime/diyhrt/archive/refs/heads/main.zip" rel="nofollow">this link</a> and it will start a download. To access the archive, open index.html with your browser.</p>
|
||||
<h2>Mirroring</h2>
|
||||
<p>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 <code>git pull</code> at least once a week (you can do this with a <a href="https://stackoverflow.com/a/69553820" rel="nofollow">simple cron job</a>). Feel free to open an issue if you need any help.</p>
|
||||
<p>This project is currently hosted on Codeberg and mirrored at <a href="https://soapingtime.github.io/diyhrt" rel="nofollow">GitHub</a>, <a href="https://git.disroot.org/diyhrt/mirrors" rel="nofollow">git.disroot.org</a>, <a href="https://git.gay/hrt/pages" rel="nofollow">git.gay</a> <a href="https://hrt.pages.gay/" rel="nofollow">(html version)</a> and <a href="https://hrt.wtf" rel="nofollow">hrt.wtf</a></p>
|
||||
<p>This project is currently hosted on Github and mirrored at <a href="https://git.disroot.org/diyhrt/mirrors" rel="nofollow">git.disroot.org</a>, <a href="https://git.gay/hrt/pages" rel="nofollow">git.gay</a> <a href="https://hrt.pages.gay/" rel="nofollow">(html version)</a> and <a href="https://hrt.wtf" rel="nofollow">hrt.wtf</a></p>
|
||||
<h2>Contact me</h2>
|
||||
<p>If you want to contact me about something here, start an issue on <a href="https://github.com/soapingtime/diyhrt/issues" rel="nofollow">GitHub</a>, <a href="https://codeberg.org/diyhrt/pages/issues" rel="nofollow">Codeberg</a> or send me an email.</p>
|
||||
<p>If you want to contact me about something here, start an issue on <a href="https://github.com/soapingtime/diyhrt/issues" rel="nofollow">GitHub</a> or <a href="mailto:soaper@disroot.org">send me an email</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue