Skip to content
Snippets Groups Projects
Verified Commit b9555fc5 authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Allow password loading form env, add ./checksum

parent 6e44296a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
git rev-parse HEAD
cd content
git rev-parse HEAD
cd ../theme
git rev-parse HEAD
cd ../static
git rev-parse HEAD
echo -n "Heslo pro upload: "
read -s LFTP_PASSWORD; export LFTP_PASSWORD
echo "UPLOADER 1.0"
if [ -z "$LFTP_PASSWORD" ]
then
echo -n "Heslo pro upload: "
read -s LFTP_PASSWORD; export LFTP_PASSWORD
fi
rm -rf public/*
node index.js compileonly # add "final" when deploying to ok1kvk.cz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment