Skip to content

Commit 3978075

Browse files
committed
Enable mirroring to Gitlab.
1 parent 98719a5 commit 3978075

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/gitlab-mirror.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Mirror to Drupal.org GitLab
2+
3+
on:
4+
push:
5+
branches:
6+
- 2.x
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Mirror + trigger CI
14+
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
15+
with:
16+
args: "https://git.drupalcode.org/project/controlled_access_terms"
17+
env:
18+
FOLLOW_TAGS: "true"
19+
FORCE_PUSH: "false"
20+
GITLAB_HOSTNAME: "git.drupal.org"
21+
GITLAB_USERNAME: "project_60628_bot"
22+
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
23+
GITLAB_PROJECT_ID: "60628"
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)