continue iterating on dronefile

This commit is contained in:
2026-05-13 15:39:03 -07:00
parent 1069ad59ca
commit ec09cf42d5
2 changed files with 7 additions and 3 deletions

View File

@ -5,14 +5,17 @@ name: default
steps:
- name: test
image: node:current
environment:
GIT_TOKEN:
from_secret: GIT_TOKEN
commands:
- npm install
- npm run build
- apt-get update
- apt-get install -y rsync
- apt-get update && apt-get install -y rsync
- rsync -uav _site/ mattrbld-site
- cd mattrbld-site
- git config --global --add safe.directory /drone/src/mattrbld-site
- git status
- git commit -am "update site at $(date '+%Y-%m-%d %H:%M:%S')"
- git remote set-url origin https://heckin.technology/inherentlee/mattrbld-site.git
- git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f'
- git push

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
_live
_site
node_modules
secrets.txt