aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-15 14:51:56 +0300
committerValentin Popov <valentin@popov.link>2025-06-15 14:51:56 +0300
commitbc4f65c1f63cf9f672fc9d2e4060b3c06c4da2fc (patch)
tree41b0fe36f308895c3ecfb66a475615b2f7d2ca35
parenta81117972d39df35574bbab809bb590abc874761 (diff)
downloadpopov.link-bc4f65c1f63cf9f672fc9d2e4060b3c06c4da2fc.tar.xz
popov.link-bc4f65c1f63cf9f672fc9d2e4060b3c06c4da2fc.zip
chore: update README and add GitHub Actions workflow for repository mirroring
- Updated the README to change the read-only mirror link to the new URL. - Added a GitHub Actions workflow for mirroring the repository to a remote Git repository.
-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