Skip to content

Commit 82f1774

Browse files
authored
Add GitHub Actions workflow to sync with GitLab
1 parent 86b0845 commit 82f1774

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Sync to GitLab
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
jobs:
10+
sync:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Push to GitLab mirror
19+
run: |
20+
git push --mirror https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/Refloow/Discord-Channel-Moderator.git

0 commit comments

Comments
 (0)