aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mirror.yml
blob: baa8c0c856223fe4678c5dd8c29580c6125493af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 }}