diff --git a/upload.sh b/upload.sh index c392429..19f90db 100755 --- a/upload.sh +++ b/upload.sh @@ -5,10 +5,10 @@ if [ ! -z $CI_COMMIT_BRANCH ];then echo $NEOCITIES_USER > .env echo $NEOCITIES_PASS >> .env echo $NEOCITIES_KEY >> .env +else + source ./.env fi -source ./.env - url="https://neocities.org" auth="Authorization: Bearer $KEY" site=.mirror