updates
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-05-15 07:46:59 -07:00
parent 9a8ba2107b
commit d9300d47ce
3 changed files with 3 additions and 39 deletions

View File

@ -7,10 +7,11 @@ steps:
image: node:current image: node:current
environment: environment:
REPOSITORY: mattrbld-site REPOSITORY: mattrbld-site
GIT_USER: inherentlee
GIT_TOKEN: GIT_TOKEN:
from_secret: GIT_TOKEN from_secret: GIT_TOKEN
commands: commands:
- git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' - git config credential.helper '!f() { echo username=$GIT_USER; echo "password=$GIT_TOKEN"; };f'
- git submodule update --remote --init --merge - git submodule update --remote --init --merge
- npm install - npm install
- npm run build - npm run build

View File

@ -1,38 +1 @@
# mattrbld test # 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
```