aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/mirror.yml17
-rw-r--r--README.md2
2 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
new file mode 100644
index 0000000..fc53925
--- /dev/null
+++ b/.github/workflows/mirror.yml
@@ -0,0 +1,17 @@
+name: Mirror
+on: [push]
+
+jobs:
+ mirror:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Mirror to remote repository
+ uses: yesolutions/mirror-action@master
+ with:
+ REMOTE: "https://git.popov.link/popov.link.git"
+ GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
+ GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
diff --git a/README.md b/README.md
index 146d110..ebd3269 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ npm run preview
- Maintained by [Valentin Popov](mailto:valentin@popov.link)
- Issues: [GitHub](https://github.com/valentineus/popov.link/issues)
-- Read-only mirror: [code.popov.link](https://code.popov.link/valentineus/popov.link)
+- Read-only mirror: [git.popov.link](https://git.popov.link/popov.link/)
## Comments