sourcing file with key
This commit is contained in:
parent
c8fa472ff6
commit
53653387ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user