sourcing file with key

This commit is contained in:
shockrah 2021-02-10 23:27:42 -08:00
parent c8fa472ff6
commit 53653387ed

View File

@ -2,14 +2,15 @@
if [ ! -z $CI_COMMIT_BRANCH ];then
echo Gitlab CI Detected!
echo KEY=$NEOCITIES_KEY >> .env
else
source ./.env
echo export KEY=$NEOCITIES_KEY >> .env
fi
source .env
url="https://neocities.org"
auth="Authorization: Bearer $KEY"
site=.mirror
auth="Authorization: Bearer $KEY"
_upload_html() {
# fix this comparison cuz its busted