diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-15 15:10:03 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-15 15:10:03 +0300 |
commit | a045cc87d0a854e65e90a61e702a7733a3b10d36 (patch) | |
tree | 06f16d50e561f70599a438e19c0ac65453c228c0 /.github/workflows | |
parent | 8f88b8b9c82f7ec4bbc44bd7034e9064919eed98 (diff) | |
download | go-metatrader4-master.tar.xz go-metatrader4-master.zip |
Update README with new source mirror URL and add GitHub Actions workflow for repository mirroringHEADmasterHEAD
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/mirror.yml | 25 |
1 files changed, 25 insertions, 0 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 }} |