Skip to content

force initial push

force initial push #3

Workflow file for this run

name: Push to GitLab Mirror
on:
push:
branches:
- master
jobs:
push_to_gitlab:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Set up Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Push to GitLab
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
run: |
# Add GitLab as a remote
git remote add gitlab https://oauth2:${GITLAB_TOKEN}@git.tosdr.org/tosdr/phoenix.git
# Push to the mirror
git push --force gitlab master --tags