Skip to content

Commit 22198e5

Browse files
authored
Update upload_ht_to_ai.yml
1 parent 144fad4 commit 22198e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/upload_ht_to_ai.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ on:
99
jobs:
1010
dowload-clean-push:
1111
runs-on: ubuntu-latest
12+
environment: prod
1213
steps:
1314
# 1. Download the script
14-
- name: Downlaods script
15+
- name: Dowload script
1516
run: wget "https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/refs/heads/master/scripts/upload_ht_to_ai.py"
1617

1718
- name: Install pip dependencies
1819
run: python3 -m pip install openai
1920

2021
# 2. Execute the script
21-
- name: Downlaods script
22-
run: python3 "./upload_ht_to_ai.py"
22+
- name: Execute script
23+
run: export MY_OPENAI_API_KEY=${{ secrets.MY_OPENAI_API_KEY }}; python3 "./upload_ht_to_ai.py"

0 commit comments

Comments
 (0)