diff options
-rw-r--r-- | .github/workflows/mirror.yml | 25 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 26 insertions, 1 deletions
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 }} @@ -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). |