-
-
Notifications
You must be signed in to change notification settings - Fork 7
26 lines (24 loc) · 721 Bytes
/
Copy pathgitlab_mirror.yml
File metadata and controls
26 lines (24 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Mirror to GitLab
permissions:
contents: read
on:
push:
branches: [main]
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
- name: Mirror to GitLab
uses: SvanBoxel/gitlab-mirror-and-ci-action@5c211f993d35256d96b772d995972f434b94e11a
with:
args: 'https://gitlab.com/ffflorian/node-packages.git'
env:
FORCE_PUSH: true
GITLAB_HOSTNAME: gitlab.com
GITLAB_USERNAME: ffflorian
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: '46568637'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}