2026-05-13 13:36:51 -07:00
|
|
|
kind: pipeline
|
|
|
|
|
type: docker
|
|
|
|
|
name: default
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: test
|
|
|
|
|
image: node:current
|
|
|
|
|
commands:
|
|
|
|
|
- npm install
|
|
|
|
|
- npm run build
|
2026-05-13 14:02:39 -07:00
|
|
|
- apt-get update
|
|
|
|
|
- apt-get install -y rsync
|
2026-05-13 13:51:54 -07:00
|
|
|
- rsync -uav _site/ mattrbld-site
|
2026-05-13 14:02:39 -07:00
|
|
|
- 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 push
|