Ted run for python migration #31
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: Ted run for python migration | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ted run | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git author | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "TED" | |
git config --global --add safe.directory /github/workspace | |
- name: TED run | |
uses: OpenGuidou/[email protected] | |
env: | |
OPENAI_API_VERSION: ${{ secrets.OPENAI_API_VERSION }} | |
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }} | |
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }} | |
GPT_DEPLOYMENT_NAME: ${{ secrets.GPT_DEPLOYMENT_NAME }} | |
EMBEDDING_DEPLOYMENT_NAME: ${{ secrets.EMBEDDING_DEPLOYMENT_NAME }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
ted-flavor: python2-3 | |
github-repository: ${{ github.repository }} | |
push: true | |
git-branch: ${{ github.ref_name }} | |