diff --git a/.drone.yml b/.drone.yml index c14e89f..62f8012 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,6 +13,7 @@ steps: - 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 --recursive - ls -al $REPOSITORY - rsync -uavh _site/ $REPOSITORY --delete --exclude .git @@ -21,6 +22,4 @@ steps: - git config --global --add safe.directory /drone/src/$REPOSITORY - git add -A - git commit -m "drone build $(TZ=':America/Los_Angeles' date)" - - git remote set-url origin https://heckin.technology/inherentlee/$REPOSITORY.git - - git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' - git push