mirror of
https://github.com/luanslimadev/Wand-Enhancer.git
synced 2026-08-28 23:01:14 +00:00
27 lines
584 B
YAML
27 lines
584 B
YAML
name: Mirror to GitLab
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master", "main" ]
|
|
tags:
|
|
- '*'
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Push to GitLab
|
|
env:
|
|
GITLAB_USERNAME: kitbyte
|
|
GITLAB_REPO: Wand-Enhancer
|
|
run: |
|
|
git remote add gitlab https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/$GITLAB_USERNAME/$GITLAB_REPO.git
|
|
git push gitlab --all --force
|
|
git push gitlab --tags --force
|