name: GitLab Sync on: push: branches: - main workflow_dispatch: jobs: sync: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Sync to GitLab run: | git remote add gitlab https://project_access_token:${{ secrets.GITLAB_ACCESS_TOKEN }}@gitlab.com/a6-nuna-9v/V9.git git push gitlab main --force