aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mirror.yml
blob: 62337e7de23f1838168b3b19a18b9c58dc1f27d3 (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/popov.link.git"
          GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
          GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}