diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-25 12:51:49 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-25 12:51:49 +0300 |
commit | 3eca4026289b86fc038137215c88fcb8b686b3d6 (patch) | |
tree | 8440faefcb45e0273747499e8439959c64828563 /.github/workflows/mirror.yml | |
parent | 1127bf0349fb5731b91d2c707b4036313f07c0db (diff) | |
download | auth_http-3eca4026289b86fc038137215c88fcb8b686b3d6.tar.xz auth_http-3eca4026289b86fc038137215c88fcb8b686b3d6.zip |
Replace main workflow with a new mirror workflow for better structure and functionality
Diffstat (limited to '.github/workflows/mirror.yml')
-rw-r--r-- | .github/workflows/mirror.yml | 25 |
1 files changed, 25 insertions, 0 deletions
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 }} |