Skip to content

Added GitLab auto-sync #1

Added GitLab auto-sync

Added GitLab auto-sync #1

name: Sync changes to GitLab
on:
push:
branches: [main]
permissions:
contents: read
jobs:
build:
if: (github.repository == 'adamlui/chatgpt-widescreen')
runs-on: ubuntu-latest
env:
TZ: PST8PDT
steps:
- name: Checkout adamlui/chatgpt-widescreen
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Push changes to gitlab.com/adamlui/chatgpt-widescreen
run: |
git push --force -o ci.skip \
https://oauth2:${{ secrets.GITLAB_SYNC_PAT }}@gitlab.com/adamlui/chatgpt-widescreen.git main