Compare commits

...

2 Commits

Author SHA1 Message Date
b60d879c40 dronefile
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-15 07:31:35 -07:00
3710711051 add submodule 2026-05-15 07:30:00 -07:00
3 changed files with 28 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:current
environment:
REPOSITORY: fedilearns-site
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
- 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
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "fedilearns-site"]
path = fedilearns-site
url = https://heckin.technology/inherentlee/fedilearns-site.git

1
fedilearns-site Submodule

Submodule fedilearns-site added at ac5fc5c283