We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbc116 commit 1d16b8bCopy full SHA for 1d16b8b
.github/workflows/sync-changes-to-gitlab.yml
@@ -22,4 +22,6 @@ jobs:
22
fetch-depth: 0
23
24
- name: Push changes to gitlab.com/kudoai/chatgpt-js
25
- run: git push --force https://oauth2:${{ secrets.GITLAB_SYNC_PAT }}@gitlab.com/kudoai/chatgpt-js.git main
+ run: |
26
+ git push --force -o ci.skip \
27
+ https://oauth2:${{ secrets.GITLAB_SYNC_PAT }}@gitlab.com/kudoai/chatgpt-js.git main
.gitlab-ci.yml
@@ -0,0 +1,8 @@
1
+sync_to_github:
2
+ rules:
3
+ - if: $CI_COMMIT_BRANCH == "master" && $CI_PROJECT_PATH == "kudoai/chatgpt-js"
4
+ image: alpine
5
+ script:
6
+ - apk add --no-cache git
7
+ - git clone https://gitlab.com/kudoai/chatgpt-js.git
8
+ - git push --force -o ci.skip https://${GITHUB_SYNC_PAT}@github.com/KudoAI/chatgpt.js.git HEAD:main
0 commit comments