[GHA] Fix generate-robots

Ref: #419
This commit is contained in:
Mitchell Krog 2021-07-05 12:14:31 +02:00
parent 9381c6d6eb
commit 2e0abfe1e0
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
3 changed files with 1 additions and 6 deletions

View file

@ -66,13 +66,10 @@ defaultcolor=$(tput setaf default)
# -------------- # --------------
_input1=./_generator_lists/bad-user-agents.list _input1=./_generator_lists/bad-user-agents.list
_tmprobots=./tmp/robots.txt _tmprobots=./dev-tools/tmp/robots.txt
_inputtmp=./dev-tools/_robots_input/robots.tmp _inputtmp=./dev-tools/_robots_input/robots.tmp
_output=./dev-tools/_robots_input/robots-input.txt _output=./dev-tools/_robots_input/robots-input.txt
sudo mkdir ./tmp
sudo touch ./tmp/robots.txt
# --------- # ---------
# Variables # Variables
# --------- # ---------
@ -120,8 +117,6 @@ generateRobotsFile
# Exit With Error Number # Exit With Error Number
# ---------------------- # ----------------------
sudo rm -rf ./tmp
exit ${?} exit ${?}
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

0
dev-tools/tmp/.keep Normal file
View file

0
dev-tools/tmp/robots.txt Normal file
View file