From 00233fc34807d5740bd4949591da85ea9a9f876f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 31 Jan 2024 16:24:58 +0400 Subject: Add mirror actions for GitHub and Codeberg --- .github/workflows/main.yml | 13 +++++++++++-- 1 file 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 }} -- cgit v1.2.3