Skip to content

feat(gitlab): add CI component #4

feat(gitlab): add CI component

feat(gitlab): add CI component #4

Workflow file for this run

name: mirror
on:
push:
branches: [main, gitlab] # TODO
tags: ["*"]
jobs:
gitlab:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Need all to fetch all tags so we can push them
fetch-depth: 0
- name: Add Remote
env:
CLONE_URL: "https://releaser-pleaser:${{ secrets.GITLAB_COM_PUSH_TOKEN }}@gitlab.com/apricote/releaser-pleaser.git"
run: git remote add gitlab $CLONE_URL
- name: Push
run: git push --mirror gitlab