generated from inherentlee/11ty
Compare commits
2 Commits
1069ad59ca
...
88c2378284
| Author | SHA1 | Date | |
|---|---|---|---|
| 88c2378284 | |||
| ec09cf42d5 |
@ -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
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
_live
|
||||
_site
|
||||
node_modules
|
||||
secrets.txt
|
||||
|
||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,6 +1,3 @@
|
||||
[submodule "_site"]
|
||||
path = _site
|
||||
url = https://heckin.technology/inherentlee/mattrbld-site
|
||||
[submodule "mattrbld-site"]
|
||||
path = mattrbld-site
|
||||
url = ssh://git@heckin.technology:2222/inherentlee/mattrbld-site.git
|
||||
|
||||
1
_site
1
_site
Submodule _site deleted from 385d654bea
Reference in New Issue
Block a user