generated from inherentlee/11ty
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user