gh action to mirror to gitlab
This commit is contained in:
parent
64c922a99d
commit
2a5d4500cb
1 changed files with 21 additions and 0 deletions
21
.github/workflows/mirror.yml
vendored
Normal file
21
.github/workflows/mirror.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: mirror to gitlab
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: mirror
|
||||
uses: SvanBoxel/gitlab-mirror-and-ci-action@5c211f993d35256d96b772d995972f434b94e11a
|
||||
with:
|
||||
args: "https://git.cything.io/cy/infra"
|
||||
env:
|
||||
FOLLOW_TAGS: "true"
|
||||
FORCE_PUSH: "false"
|
||||
GITLAB_HOSTNAME: "git.cything.io"
|
||||
GITLAB_USERNAME: "cy"
|
||||
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
|
||||
GITLAB_PROJECT_ID: "2"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Reference in a new issue