Update upload_ht_to_ai.yml

This commit is contained in:
SirBroccoli
2025-03-31 04:38:40 +02:00
committed by GitHub
parent d0ca3b4c13
commit 8ac043f850

View File

@@ -9,14 +9,15 @@ on:
jobs:
dowload-clean-push:
runs-on: ubuntu-latest
environment: prod
steps:
# 1. Download the script
- name: Downlaods script
- name: Dowload script
run: wget "https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/refs/heads/master/scripts/upload_ht_to_ai.py"
- name: Install pip dependencies
run: python3 -m pip install openai
# 2. Execute the script
- name: Downlaods script
run: python3 "./upload_ht_to_ai.py"
- name: Execute script
run: export MY_OPENAI_API_KEY=${{ secrets.MY_OPENAI_API_KEY }}; python3 "./upload_ht_to_ai.py"