Skip to content

Commit 91dbb9a

Browse files
committed
github: fix mirroring with DESY
1 parent 9f5fb15 commit 91dbb9a

1 file changed

Lines changed: 19 additions & 11 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
name: Mirroring
1+
name: Mirror and run GitLab CI
22

3-
on: [push, delete]
3+
on:
4+
push:
45

56
jobs:
67
to_gitlab:
78
runs-on: ubuntu-latest
89
steps:
9-
- uses: actions/checkout@v3
10-
with:
11-
fetch-depth: 0
12-
- uses: pixta-dev/repository-mirroring-action@v1
13-
with:
14-
target_repo_url:
15-
git@gitlab.desy.de:dcache/dcache-helm.git
16-
ssh_private_key:
17-
${{ secrets.REPOSYNC_SSH_PRIVATE_KEY }}
10+
- uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
- name: Mirror + trigger CI
14+
uses: SvanBoxel/gitlab-mirror-and-ci-action@0.6
15+
with:
16+
args: "https://gitlab.desy.de/dcache/dcache-helm"
17+
env:
18+
FOLLOW_TAGS: "true"
19+
FORCE_PUSH: "false"
20+
GITLAB_HOSTNAME: "gitlab.desy.de"
21+
GITLAB_USERNAME: "dcache"
22+
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
23+
GITLAB_PROJECT_ID: "7648"
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
POLL_TIMEOUT: 60

0 commit comments

Comments
 (0)