generated from inherentlee/11ty
This commit is contained in:
@ -13,6 +13,7 @@ steps:
|
|||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- apt-get update && apt-get install -y rsync
|
- 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
|
- git submodule update --remote --init --recursive
|
||||||
- ls -al $REPOSITORY
|
- ls -al $REPOSITORY
|
||||||
- rsync -uavh _site/ $REPOSITORY --delete --exclude .git
|
- rsync -uavh _site/ $REPOSITORY --delete --exclude .git
|
||||||
@ -21,6 +22,4 @@ steps:
|
|||||||
- git config --global --add safe.directory /drone/src/$REPOSITORY
|
- git config --global --add safe.directory /drone/src/$REPOSITORY
|
||||||
- git add -A
|
- git add -A
|
||||||
- git commit -m "drone build $(TZ=':America/Los_Angeles' date)"
|
- 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
|
- git push
|
||||||
|
|||||||
Reference in New Issue
Block a user