Create mirror_to_gitlab.yml
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
name: Mirror and run GitLab CI
|
||||||
|
|
||||||
|
on: [push, delete]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Mirror + trigger CI
|
||||||
|
uses: SvanBoxel/gitlab-mirror-and-ci-action@master
|
||||||
|
with:
|
||||||
|
args: "https://git-dmz.thuenen.de/kida/i2-skills-beratungsstelle/scraibe"
|
||||||
|
env:
|
||||||
|
FOLLOW_TAGS: "false"
|
||||||
|
FORCE_PUSH: "false"
|
||||||
|
GITLAB_HOSTNAME: "git-dmz.thuenen.de"
|
||||||
|
GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }}
|
||||||
|
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} // Generate here: https://gitlab.com/profile/personal_access_tokens
|
||||||
|
GITLAB_PROJECT_ID: ${{ secrets.GITLAB_PROJECT_ID }} // https://gitlab.com/<namespace>/<repository>/edit
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} // https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
|
||||||
Reference in New Issue
Block a user