[GHA] Fix generate-robots.sh

Install tput
This commit is contained in:
Mitchell Krog 2021-06-21 11:58:10 +02:00
parent 722c1e18bc
commit 1dfb524913
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
2 changed files with 9 additions and 0 deletions

View file

@ -28,6 +28,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y --assume-yes nginx-extras
sudo apt-get -y install dos2unix
sudo apt-get install libncurses5-dbg
- name: Run build

View file

@ -43,6 +43,9 @@
# SOFTWARE.
# ------------------------------------------------------------------------------
set -e
set -o pipefail
# ------------------------
# Set Terminal Font Colors
# ------------------------
@ -66,6 +69,9 @@ _tmprobots=./tmp/robots.txt
_inputtmp=./dev-tools/_robots_input/robots.tmp
_output=./dev-tools/_robots_input/robots-input.txt
sudo mkdir ./tmp
sudo touch ./tmp/robots.txt
# ---------
# Variables
# ---------
@ -111,6 +117,8 @@ generateRobotsFile
# Exit With Error Number
# ----------------------
sudo rm -rf ./tmp
exit ${?}
# ------------------------------------------------------------------------------