mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +00:00
Update some scripts and then some
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
3e9b4b9bf3
commit
3c1e8f59fb
2 changed files with 11 additions and 2 deletions
12
README.md
12
README.md
|
@ -7,13 +7,20 @@ This is my sources for both [`andreijiroh.(eu.org|dev)`](https://andreijiroh.eu.
|
|||
built with Mkdocs + [Material theme](https://go.andreijiroh.eu.org/mkdocs-material) by [~squidfunk](https://go.andreijiroh.eu.org/squidfunk).
|
||||
(Sources for Gemini version of the website is available at `gmi` directory.)
|
||||
|
||||
## Mirrors
|
||||
|
||||
Canonically developed at [mau.dev](https://mau.dev/ajhalili2006/tildeverse-web.git) where the deployments happen, with the following mirrors being maintained:
|
||||
|
||||
* GitHub: <https://github.com/ajhalili2006/ajhalili2006.github.io.git>, where Docker image builds happen
|
||||
* Jetbrains Space (personal): <https://ajhalili2006.jetbrains.space/p/web/repositories/andreijiroh.dev/files/README.md>
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
# clone the repo
|
||||
# pick one on the clone URLs
|
||||
glab repo clone https://mau.dev/ajhalili2006/tildeverse-web
|
||||
gh repo clone ajhalili2006/tildeverse-web
|
||||
gh repo clone ajhalili2006/ajhalili2006.github.com
|
||||
git clone git@git.sr.ht:~ajhalili2006/tildeweb
|
||||
|
||||
# maybe do this on a feature branch
|
||||
|
@ -32,12 +39,13 @@ nano markdown/path-to-file.md
|
|||
git stage . && git commit --signoff
|
||||
|
||||
# send patches via GitLab or GitHub through the CLI
|
||||
glab auth login --host "https://mau.dev" # authenticate CLI
|
||||
glab -R https://mau.dev/ajhalili2006/tildeverse-web mr create --allow-collaboration -b main
|
||||
gh -R ajhalili2006/tildeverse-web pr create # might automatically closes PR due to mirror status
|
||||
|
||||
# or via my public inbox on sourcehut
|
||||
# see https://git-send-email.io for setup and guide
|
||||
git config sendemail.to "~ajhalili2006/public-inbox@lists.sr.ht"
|
||||
git config sendemail.to "~ajhalili2006/public-inbox@lists.sr.ht" # NOT my personal email
|
||||
git config format.subjectPrefix "PATCH tildeweb" # identification in archives + builds.sr.ht
|
||||
git config --global sendemail.annotate yes
|
||||
git config --global format.signOff true # needed for compliance with Linux DCO
|
||||
|
|
|
@ -40,6 +40,7 @@ fi
|
|||
|
||||
if [[ ! -d "$_root_directory_git/public" ]]; then
|
||||
bash "$_root_directory_git/bin/build.sh"
|
||||
cp markdown/.well-known public/ -rv
|
||||
fi
|
||||
|
||||
if [[ $FF_DIRTY_DEPLOY == "true" ]]; then
|
||||
|
|
Loading…
Reference in a new issue