Enlarged CLI args note ↞ [auto-sync from https://github.com/adamlui/p… #324
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] | |
| jobs: | |
| build: | |
| if: (github.repository == 'KudoAI/chatgpt.js') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| env: | |
| TZ: PST8PDT | |
| steps: | |
| - name: Checkout KudoAI/chatgpt.js | |
| uses: actions/checkout@v6.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push changes to gitlab.com/kudoai/chatgpt-js | |
| env: | |
| GITLAB_SYNC_PAT: ${{ secrets.GITLAB_SYNC_PAT }} | |
| run: | | |
| git push --force -o ci.skip \ | |
| https://oauth2:$GITLAB_SYNC_PAT@gitlab.com/kudoai/chatgpt-js.git main |