From bc4f65c1f63cf9f672fc9d2e4060b3c06c4da2fc Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 15 Jun 2025 11:51:56 +0000 Subject: 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. --- .github/workflows/mirror.yml | 17 +++++++++++++++++ README.md | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/mirror.yml 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 -- cgit v1.2.3