Skip to content

Commit

Permalink
github: enable mirroring to gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Sep 20, 2024
1 parent 643e97b commit 7f86e93
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Mirror and run GitLab CI

on:
push:

jobs:
to_gitlab:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror + trigger CI
uses: SvanBoxel/[email protected]
with:
args: "https://gitlab.desy.de/dcache/www-dcache-org"
env:
FOLLOW_TAGS: "true"
FORCE_PUSH: "false"
GITLAB_HOSTNAME: "gitlab.desy.de"
GITLAB_USERNAME: "dcache"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "15155"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POLL_TIMEOUT: 60

0 comments on commit 7f86e93

Please sign in to comment.