GitHub ↠ GitLab test B ↞ [auto-sync from https://github.com/adamlui/c… #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync changes to GitLab | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
if: (github.repository == 'adamlui/ai-web-extensions') | |
runs-on: ubuntu-latest | |
env: | |
TZ: PST8PDT | |
steps: | |
- name: Checkout adamlui/ai-web-extensions | |
uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
- name: Push changes to gitlab.com/adamlui/ai-web-extensions | |
run: | | |
git push --force -o ci.skip \ | |
https://oauth2:${{ secrets.GITLAB_SYNC_PAT }}@gitlab.com/adamlui/ai-web-extensions.git main |