Skip to content
Snippets Groups Projects
Commit e80e5025 authored by Christoph Witzko's avatar Christoph Witzko
Browse files

ci: add sync to gitlab workflow

closes #150
parent 1afab2d3
No related branches found
No related tags found
No related merge requests found
name: Sync to GitLab
on:
push:
branches:
- '**'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Sync to GitLab
run: |
git remote add gitlab https://oauth2:${GITLAB_TOKEN}@gitlab.com/go-semantic-release/semantic-release.git
git push gitlab ${{ github.ref_name }} --force
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_PUSH_TOKEN }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment