Skip to content

Commit 37e792d

Browse files
authored
Revert "Add a new GH Actions job to automatically update translated document …"
This reverts commit ae4ba3c.
1 parent ae4ba3c commit 37e792d

File tree

2 files changed

+1
-49
lines changed

2 files changed

+1
-49
lines changed

.github/workflows/update-docs.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/scripts/translate_docs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
}
3131

3232
# Initialize OpenAI client
33-
api_key = os.getenv("PROD_OPENAI_API_KEY") or os.getenv("OPENAI_API_KEY")
34-
openai_client = OpenAI(api_key=api_key)
33+
openai_client = OpenAI(api_key=os.getenv("OPENAI_API_KEY"))
3534

3635
# Define dictionaries for translation control
3736
do_not_translate = [

0 commit comments

Comments
 (0)