Compare commits

..

No commits in common. "96efcd1ba603c6d03cf2f328fb5c57f2721b932a" and "876cb663b1e0fd362c9450dc92f7f98062bced2f" have entirely different histories.

2 changed files with 20 additions and 2 deletions

19
.github/workflows/mirror.yml vendored Normal file
View file

@ -0,0 +1,19 @@
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: "true"
GITLAB_HOSTNAME: "git.cything.io"
GITLAB_USERNAME: "cy"
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
GITLAB_PROJECT_ID: "2"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -139,8 +139,7 @@
]; ];
# for forgejo # for forgejo
users.users.git = { users.users.git = {
isNormalUser = true; isSystemUser = true;
home = "/var/lib/forgejo";
group = "git"; group = "git";
}; };
users.groups.git = {}; users.groups.git = {};