diff --git a/.github/workflows/build_master.yml b/.github/workflows/build_master.yml index 60843b805..4bcc88628 100644 --- a/.github/workflows/build_master.yml +++ b/.github/workflows/build_master.yml @@ -35,6 +35,11 @@ jobs: - name: Build mdBook run: MDBOOK_BOOK__LANGUAGE=en mdbook build || (echo "Error logs" && cat hacktricks-preprocessor-error.log && echo "" && echo "" && echo "Debug logs" && (cat hacktricks-preprocessor.log | tail -n 20) && exit 1) + - name: Install GitHub CLI + run: | + sudo apt-get update + sudo apt-get install -y gh + - name: Publish search index release asset shell: bash env: diff --git a/.github/workflows/translate_all.yml b/.github/workflows/translate_all.yml index 3e0addf29..78adeeab7 100644 --- a/.github/workflows/translate_all.yml +++ b/.github/workflows/translate_all.yml @@ -65,7 +65,7 @@ jobs: - name: Update and download scripts run: | sudo apt-get update - sudo apt-get install wget -y + sudo apt-get install -y wget gh mkdir scripts cd scripts wget -O get_and_save_refs.py https://raw.githubusercontent.com/HackTricks-wiki/hacktricks-cloud/master/scripts/get_and_save_refs.py