sourcing file with key
This commit is contained in:
parent
c8fa472ff6
commit
53653387ed
@ -2,14 +2,15 @@
|
|||||||
|
|
||||||
if [ ! -z $CI_COMMIT_BRANCH ];then
|
if [ ! -z $CI_COMMIT_BRANCH ];then
|
||||||
echo Gitlab CI Detected!
|
echo Gitlab CI Detected!
|
||||||
echo KEY=$NEOCITIES_KEY >> .env
|
echo export KEY=$NEOCITIES_KEY >> .env
|
||||||
else
|
|
||||||
source ./.env
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
source .env
|
||||||
|
|
||||||
url="https://neocities.org"
|
url="https://neocities.org"
|
||||||
auth="Authorization: Bearer $KEY"
|
|
||||||
site=.mirror
|
site=.mirror
|
||||||
|
auth="Authorization: Bearer $KEY"
|
||||||
|
|
||||||
|
|
||||||
_upload_html() {
|
_upload_html() {
|
||||||
# fix this comparison cuz its busted
|
# fix this comparison cuz its busted
|
||||||
|
Loading…
Reference in New Issue
Block a user