Compare commits

..
2 Commits
Author SHA1 Message Date
inherentlee 850ef1c270 dronefile
continuous-integration/drone/push Build is passing
2026-07-20 16:27:23 -07:00
inherentlee eba8241ed7 sobmodules 2026-07-20 16:27:04 -07:00
3 changed files with 29 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:current
environment:
REPOSITORY: district-dharma-site
GIT_USER: inherentlee
GIT_TOKEN:
from_secret: GIT_TOKEN
commands:
- git config credential.helper '!f() { echo username=$GIT_USER; echo "password=$GIT_TOKEN"; };f'
- git submodule update --remote --init --merge
- npm install
- npm run build
- apt-get update && apt-get install -y rsync
- rsync -uavh _site/ $REPOSITORY --delete --exclude .git
- cd $REPOSITORY
- git checkout main
- git config --global --add safe.directory /drone/src/$REPOSITORY
- git add -A
- git commit -m "drone build $(TZ=':America/Los_Angeles' date)"
- git push
+3
View File
@@ -0,0 +1,3 @@
[submodule "district-dharma-site"]
path = district-dharma-site
url = https://heckin.technology/inherentlee/district-dharma-site.git