forked from Scalingo/sample-python2-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.07 KB
/
ted.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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 }}