Compare commits

...

4 Commits

Author SHA1 Message Date
6cda4aad5f Update content through Mattrbld
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-17 12:23:57 -07:00
d9300d47ce updates
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-15 07:46:59 -07:00
9a8ba2107b remove silly change line
All checks were successful
continuous-integration/drone/push Build is passing
2026-05-14 11:25:16 -07:00
47b812fa98 remove debug line 2026-05-14 11:25:00 -07:00
5 changed files with 12 additions and 41 deletions

View File

@ -7,17 +7,17 @@ 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
- apt-get update && apt-get install -y rsync - apt-get update && apt-get install -y rsync
- rsync -uavh _site/ $REPOSITORY --delete --exclude .git - rsync -uavh _site/ $REPOSITORY --delete --exclude .git
- cd $REPOSITORY - cd $REPOSITORY
- ls -al
- git checkout main - git checkout main
- git config --global --add safe.directory /drone/src/$REPOSITORY - git config --global --add safe.directory /drone/src/$REPOSITORY
- git add -A - git add -A

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
```

View File

@ -37,7 +37,6 @@ body {
color: var(--color-text); color: var(--color-text);
background-color: var(--color-bg); background-color: var(--color-bg);
font-family: sans-serif; font-family: sans-serif;
color: gray;
} }
#content { #content {

9
src/thankyou.md Normal file
View File

@ -0,0 +1,9 @@
---
title: Thanks for contacting us!
hero:
src: /images/dscf-3866.JPG
alt: chickadee
title: null
___mb_schema: /.mattrbld/schemas/page.json
---
Thanks for filling out the contact form. Well be in touch in the next few days.