2026-05-13 16:03:16 -07:00
|
|
|
# mattrbld test
|
2026-05-13 18:57:25 +02:00
|
|
|
|
2026-05-13 16:03:16 -07:00
|
|
|
## 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
|
|
|
|
|
```
|