generated from inherentlee/11ty
Compare commits
32 Commits
725ff3b000
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6cda4aad5f | |||
| d9300d47ce | |||
| 9a8ba2107b | |||
| 47b812fa98 | |||
| 63895e0ac4 | |||
| beafa18c20 | |||
| d0d9725807 | |||
| 71eec20b60 | |||
| 8d25ac3bb2 | |||
| 864a427107 | |||
| 285ce4d0f9 | |||
| 9e79d40d73 | |||
| 6fc188282e | |||
| ad0c7fc881 | |||
| 1e9c3c037d | |||
| 52dedcb615 | |||
| 55bf306a4a | |||
| 115a92024c | |||
| 64a386c8da | |||
| 98589550e3 | |||
| 857f282740 | |||
| 116565af6b | |||
| 29cff6f7ae | |||
| 60f41e1899 | |||
| 67cbd08d80 | |||
| 0e9e479f9b | |||
| b58de8afa8 | |||
| 1f124d71a1 | |||
| 95dbf3158c | |||
| 0a16519645 | |||
| 1ded73bef9 | |||
| e742442f10 |
16
.drone.yml
16
.drone.yml
@ -3,21 +3,23 @@ type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
- name: build
|
||||
image: node:current
|
||||
environment:
|
||||
REPOSITORY: mattrbld-site
|
||||
GIT_USER: inherentlee
|
||||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
commands:
|
||||
- git config credential.helper '!f() { echo username=$GIT_USER; echo "password=$GIT_TOKEN"; };f'
|
||||
- git submodule update --remote --init --merge
|
||||
- npm install
|
||||
- npm run build
|
||||
- apt-get update && apt-get install -y rsync
|
||||
- rsync -uavh _site/ mattrbld-site --delete --exclude .git
|
||||
- cd mattrbld-site
|
||||
- git config --global --add safe.directory /drone/src/mattrbld-site
|
||||
- git add *
|
||||
- rsync -uavh _site/ $REPOSITORY --delete --exclude .git
|
||||
- cd $REPOSITORY
|
||||
- git checkout main
|
||||
- git config --global --add safe.directory /drone/src/$REPOSITORY
|
||||
- git add -A
|
||||
- git commit -m "drone build $(TZ=':America/Los_Angeles' date)"
|
||||
- git remote set-url origin https://heckin.technology/inherentlee/$REPOSITORY.git
|
||||
- git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f'
|
||||
- git push
|
||||
|
||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,4 @@
|
||||
[submodule "mattrbld-site"]
|
||||
path = mattrbld-site
|
||||
url = ssh://git@heckin.technology:2222/inherentlee/mattrbld-site.git
|
||||
url = https://heckin.technology/inherentlee/mattrbld-site.git
|
||||
update = merge
|
||||
|
||||
BIN
.mattrbld/users/lee-cattarin-gmail-com.jpg
Normal file
BIN
.mattrbld/users/lee-cattarin-gmail-com.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
37
README.md
37
README.md
@ -1,38 +1 @@
|
||||
# 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
|
||||
```
|
||||
|
||||
Submodule mattrbld-site updated: 5dd07e095c...591de23a22
9
src/thankyou.md
Normal file
9
src/thankyou.md
Normal 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. We’ll be in touch in the next few days.
|
||||
Reference in New Issue
Block a user