From 52c8a8cc60a44a6d6efc4f08417c63a70e1a91b7 Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Wed, 23 Sep 2026 16:30:35 -0700 Subject: [PATCH] set up submodule --- .gitmodules | 3 ++ README.md | 71 ++--------------------------------------------- spoonfairies-site | 1 + 3 files changed, 6 insertions(+), 69 deletions(-) create mode 100644 .gitmodules create mode 160000 spoonfairies-site diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..f512f90 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "spoonfairies-site"] + path = spoonfairies-site + url = https://heckin.technology/inherentlee/spoonfairies-site.git diff --git a/README.md b/README.md index 3945111..0164f79 100644 --- a/README.md +++ b/README.md @@ -1,70 +1,3 @@ -# 11ty Template +# Spoonfairies -Template repository for my 11ty projects. - -## full drone/submodule setup from scratch - -### 1. create repo - -in heckin gitea, create destination repo. - -### 2. update dronefile in source repo - -Update the `` in [.drone.yml](.drone.yml). - -### 3. create and add PAT (one-time, not per repo) - -in heckin, go to settings > applications, and create a PAT with read & write permissions to repositories. - -in drone, you can set your PAT either as a project secret or an organization secret. In either case call it `GIT_TOKEN`. - -### 4. activate project in drone - -in drone, find your project and activate it. - -in the settings, I chose to disable pull requests and forks. I set my runner timeout to 15m. - -### 5. first commit to submodule - -assuming we are committing the _site folder... - -```sh -cp -r _site ../temp -cd ../temp - -git init -git add -A -git commit -m "first" - -git remote add origin -git push -u origin main -``` - -then you can delete the temp directory. - -### 6. add submodule to local repo - -in root dir of local repo, add the submodule. - -```sh -git submodule add -``` - -if you used the SSH url, set it to the HTTPS url. - -```sh -git submodule set-url -git add .gitmodules # the changes from submodule add are auto-staged, this config change isn't -``` - -commit your changes and push. - -```sh -git commit -m "add submodule" -``` - -(commit your dronefile changes too.) - -### 7. profit - -if it doesn't work, cry +a small group project to help disabled and queer folks find services they need. early testing phase. diff --git a/spoonfairies-site b/spoonfairies-site new file mode 160000 index 0000000..179a710 --- /dev/null +++ b/spoonfairies-site @@ -0,0 +1 @@ +Subproject commit 179a710a502fbffd30018339cc93b976a36a40d4