add base model option to custom model (#276) #134
This file contains 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-internal | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync-repo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git-sync | |
uses: wei/git-sync@v3 | |
with: | |
source_repo: "https://cohere-ci:${{ secrets.GH_PAT }}@github.com/cohere-ai/cohere-python.git" | |
source_branch: "main" | |
destination_repo: "https://cohere-ci:${{ secrets.GH_PAT }}@github.com/cohere-ai/cohere-python-internal.git" | |
destination_branch: "main" | |
- uses: actions/checkout@v3 | |
with: | |
repository: cohere-ai/cohere-python-internal | |
ref: main | |
token: ${{ secrets.GH_PAT }} | |
- name: setup git config | |
run: | | |
git config user.name "cohere-ci" | |
git config user.email "[email protected]" | |
- name: remove README and github actions | |
run: | | |
rm -rf .github/ README.md | |
git fetch origin overrides:overrides | |
git checkout overrides -- .github/ README.md | |
git add . | |
git commit -m "Apply README and Github Actions" | |
- run: git push origin main | |