Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Create sync-to-gitlab.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zewebdev1337 authored Nov 13, 2023
1 parent 270e3bb commit 142dbfa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/sync-to-gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync to GitLab

on:
push:
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub repository
uses: actions/checkout@v2

- 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 --force

1 comment on commit 142dbfa

@vercel
Copy link

@vercel vercel bot commented on 142dbfa Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.