nixcfg/.github/workflows/git-sync-mirrors.yml

21 lines
498 B
YAML

name: "git-mirror"
on:
push:
branches:
- master
workflow_dispatch:
jobs:
gitlab-sync:
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: actions/checkout@main
with:
fetch-depth: 0
- name: "sync gitlab mirror"
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/alyraffauf/nixcfg.git'
GIT_USERNAME: alyraffauf
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}