From 3dc097a377c22411d2d31738c71215704bf8d510 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 10 Feb 2021 21:03:47 -0800 Subject: [PATCH] atttempting to cheese gitlab --- upload.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/upload.sh b/upload.sh index 8b98380..c392429 100755 --- a/upload.sh +++ b/upload.sh @@ -1,11 +1,14 @@ #!/bin/bash if [ ! -z $CI_COMMIT_BRANCH ];then - source $NEOCITIES_AUTH -else - source ./.env + echo Gitlab CI Detected! + echo $NEOCITIES_USER > .env + echo $NEOCITIES_PASS >> .env + echo $NEOCITIES_KEY >> .env fi +source ./.env + url="https://neocities.org" auth="Authorization: Bearer $KEY" site=.mirror