fix(phpunit): Updated paths to ssh keys

Signed-off-by: Stuart McCulloch Anderson's avatarStuart McCulloch Anderson <stuart@nxfifteen.me.uk>
parent e6e5a6f9
Pipeline #222 failed with stages
in 2 minutes and 42 seconds
......@@ -5,16 +5,7 @@ CI_ENVIRONMENT_SLUG="$3"
eval $(ssh-agent -s)
echo -n "Working in "
pwd
echo -n "As "
whoami
echo -n "From "
echo $HOME
ssh-add /home/nxad/.ssh/id_rsa_pss
ssh-add $HOME/id_rsa_nxcore
if [ ! -d "$ROOTPATH" ]; then
mkdir -p "$ROOTPATH"
......@@ -49,6 +40,6 @@ fi
cd "$ROOTPATH"
php "$ROOTPATH/vendor/phpdocumentor/phpdocumentor/bin/phpdoc" >/dev/null 2>&1
mkdir -p "/var/www/dev/docs/$CI_COMMIT_REF_NAME"
mkdir -p "/var/www/dev/docs/$CI_COMMIT_REF_NAME"
rsync -vhru --delete-after ./docs/development/* "/var/www/dev/docs/$CI_COMMIT_REF_NAME/"
......@@ -4,7 +4,7 @@ CI_COMMIT_REF_NAME="$2"
CI_ENVIRONMENT_SLUG="$3"
eval $(ssh-agent -s)
ssh-add /home/nxad/.ssh/id_rsa_pss
ssh-add $HOME/id_rsa_nxcore
if [ ! -d "$ROOTPATH" ]; then
mkdir -p "$ROOTPATH"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment