Skip to content

Commit 3eca402

Browse files
committed
Replace main workflow with a new mirror workflow for better structure and functionality
1 parent 1127bf0 commit 3eca402

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/mirror.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Mirror
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
mirror:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- name: Mirror to remote repository
21+
uses: yesolutions/mirror-action@master
22+
with:
23+
REMOTE: "https://git.popov.link/moodle/auth_http.git"
24+
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
25+
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

0 commit comments

Comments
 (0)