@@ -66,16 +66,14 @@ jobs:
6666 run : |
6767 sudo apt-get update
6868 sudo apt-get install wget -y
69- cd scripts
70- wget -O get_and_save_refs.py https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/get_and_save_refs.py
71- wget -O compare_and_fix_refs.py https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/compare_and_fix_refs.py
72- wget -O translator.py https://raw.githubusercontent.com/carlospolop/hacktricks-cloud/master/scripts/translator.py
73- cd ..
74-
69+ wget -O /tmp/get_and_save_refs.py https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/master/scripts/get_and_save_refs.py
70+ wget -O /tmp/compare_and_fix_refs.py https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/master/scripts/compare_and_fix_refs.py
71+ wget -O /tmp/translator.py https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/master/scripts/translator.py
72+
7573 - name : Run get_and_save_refs.py
7674 run : |
77- python scripts /get_and_save_refs.py
78-
75+ python /tmp /get_and_save_refs.py
76+
7977 - name : Download language branch & update refs
8078 run : |
8179 pwd
8684 git config pull.rebase false
8785 git checkout $BRANCH
8886 git pull
89- python scripts /compare_and_fix_refs.py --files-unmatched-paths /tmp/file_paths.txt
87+ python /tmp /compare_and_fix_refs.py --files-unmatched-paths /tmp/file_paths.txt
9088 git add .
9189 git commit -m "Fix unmatched refs" || echo "No changes to commit"
9290 git push || echo "No changes to push"
@@ -108,7 +106,7 @@ jobs:
108106 touch /tmp/file_paths.txt
109107
110108 if [ -s /tmp/file_paths.txt ]; then
111- python scripts /translator.py \
109+ python /tmp /translator.py \
112110 --language "$LANGUAGE" \
113111 --branch "$BRANCH" \
114112 --api-key "$OPENAI_API_KEY" \
0 commit comments