Skip to content

Commit

Permalink
remove broken sync to gitlab action
Browse files Browse the repository at this point in the history
  • Loading branch information
zewebdev1337 committed May 28, 2024
1 parent 6dc7d8f commit baf5431
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/sync-to-gitlab.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Sync to GitLab
# name: Sync to GitLab

on:
push:
workflow_dispatch:
# on:
# push:
# workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# jobs:
# sync:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout GitHub repository
# uses: actions/checkout@v2
# with:
# fetch-depth: 0

- name: Push to GitLab
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}
run: |
git remote add gitlab https://oauth2:${GITLAB_TOKEN}@gitlab.com/zewebdev1337/devGPT-base.git
git push gitlab HEAD:main
# - name: Push to GitLab
# env:
# GITLAB_TOKEN: ${{ secrets.GITLAB_ACCESS_TOKEN }}
# run: |
# git remote add gitlab https://oauth2:${GITLAB_TOKEN}@gitlab.com/zewebdev1337/devGPT-base.git
# git push gitlab HEAD:main

0 comments on commit baf5431

Please sign in to comment.