diff options
author | Valentin Popov <valentin@popov.link> | 2024-01-31 15:24:58 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-01-31 15:24:58 +0300 |
commit | 00233fc34807d5740bd4949591da85ea9a9f876f (patch) | |
tree | 4899ed08def9e0723e4914b60395438c940a4e3d | |
parent | 16b5e4837993acc26790ac49e5d86d78501296dd (diff) | |
download | wecli-00233fc34807d5740bd4949591da85ea9a9f876f.tar.xz wecli-00233fc34807d5740bd4949591da85ea9a9f876f.zip |
Add mirror actions for GitHub and Codeberg
-rw-r--r-- | .github/workflows/main.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7103d2..c02fd57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,14 +3,23 @@ name: Workflow on: [push] jobs: - greet: + mirrors: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: yesolutions/mirror-action@master + + - 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 }} |