diff --git a/.drone.yml b/.drone.yml index 9e2354b..1be4df7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,14 +10,11 @@ steps: GIT_TOKEN: from_secret: GIT_TOKEN commands: + - git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' + - git submodule update --remote --init --merge - npm install - npm run build - apt-get update && apt-get install -y rsync - - git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' - - git submodule update --remote --init --merge - - ls -al _site - - cat _site/index.html | grep built - - cat mattrbld-site/index.html | grep built - rsync -uavh _site/ $REPOSITORY --delete --exclude .git - cd $REPOSITORY - ls -al