From 3eca4026289b86fc038137215c88fcb8b686b3d6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 25 Jun 2025 13:51:49 +0400 Subject: Replace main workflow with a new mirror workflow for better structure and functionality --- .github/workflows/mirror.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/mirror.yml (limited to '.github/workflows/mirror.yml') diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..d4f0b33 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,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/moodle/auth_http.git" + GIT_USERNAME: ${{ secrets.GIT_USERNAME }} + GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} -- cgit v1.2.3