From a045cc87d0a854e65e90a61e702a7733a3b10d36 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 15 Jun 2025 16:10:03 +0400 Subject: Update README with new source mirror URL and add GitHub Actions workflow for repository mirroring --- .github/workflows/mirror.yml | 25 +++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 26 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..baa8c0c --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,25 @@ +name: Mirror + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +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/go-metatrader4.git" + GIT_USERNAME: ${{ secrets.GIT_USERNAME }} + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} diff --git a/README.md b/README.md index e2e0cca..fdba57b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Use `WithAutoClose(false)` if you want to reuse the connection manually via `cli ## Project Info - Vanity import path: `go.popov.link/metatrader4` -- Source mirror (read-only): [code.popov.link](https://code.popov.link/valentineus/go-metatrader4) +- Source mirror (read-only): [git.popov.link](https://git.popov.link/go-metatrader4/) - Issues and contributions: [GitHub](https://github.com/valentineus/go-metatrader4/issues) Maintained by [Valentin Popov](mailto:valentin@popov.link). -- cgit v1.2.3