[GHA] Test Before Deploy Steps

Ref: #419
This commit is contained in:
Mitchell Krog 2021-07-05 11:56:08 +02:00
parent 164e3603d3
commit bde2e05289
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
8 changed files with 37 additions and 20 deletions

View file

@ -45,6 +45,7 @@
set -e
set -o pipefail
export TERM=xterm
# ------------------------
# Set Terminal Font Colors
@ -78,7 +79,9 @@ sudo touch ./tmp/robots.txt
YEAR=$(date +"%Y")
MONTH=$(date +"%m")
MY_GIT_TAG=V4.${YEAR}.${MONTH}.${TRAVIS_BUILD_NUMBER}
lastbuild=$(cat ./dev-tools/buildnumber)
thisbuild=$((lastbuild + 1))
MY_GIT_TAG=V4.${YEAR}.${MONTH}.${thisbuild}
BAD_REFERRERS=$(wc -l < ./_generator_lists/bad-referrers.list)
BAD_BOTS=$(wc -l < ./_generator_lists/bad-user-agents.list)
_now="$(date)"