generated from inherentlee/11ty
add notes
This commit is contained in:
33
README.md
33
README.md
@ -1,3 +1,32 @@
|
|||||||
# 11ty Template
|
# mattrbld test
|
||||||
|
|
||||||
Template repository for my 11ty projects.
|
## local drone testing
|
||||||
|
|
||||||
|
create secrets.txt:
|
||||||
|
|
||||||
|
```txt
|
||||||
|
GIT_TOKEN=PAT
|
||||||
|
```
|
||||||
|
|
||||||
|
run `drone exec` with secrets file:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
drone exec --secret-file=secrets.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
## submodule bullshit
|
||||||
|
|
||||||
|
to pull in remote updates:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git submodule update --remote
|
||||||
|
```
|
||||||
|
|
||||||
|
to push incl. submodule updates:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cd mattrbld-site
|
||||||
|
git commit -am "message"
|
||||||
|
cd ..
|
||||||
|
git push --recurse-submodules=on-demand
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user