generated from inherentlee/11ty
39 lines
462 B
Markdown
39 lines
462 B
Markdown
# mattrbld test
|
|
|
|
## 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 add the submodule:
|
|
|
|
```sh
|
|
git submodule add <remote-url>
|
|
```
|
|
|
|
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
|
|
```
|