aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
blob: c02fd57a333ba7f2a4c467283c2fd8e3d2a1bced (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: Workflow

on: [push]

jobs:
  mirrors:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        fetch-depth: 0

    - name: Push to GitHub
      uses: yesolutions/mirror-action@master
      with:
        REMOTE: 'https://git.popov.link/wecli.git'
        GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
        GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

    - name: Push to Codeberg
      uses: yesolutions/mirror-action@master
      with:
        REMOTE: 'https://codeberg.org/valentineus/wecli.git'
        GIT_USERNAME: ${{ secrets.CODEBERG_USERNAME }}
        GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}