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).
|
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.)
|
(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
|
## Development
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# clone the repo
|
# clone the repo
|
||||||
# pick one on the clone URLs
|
# pick one on the clone URLs
|
||||||
glab repo clone https://mau.dev/ajhalili2006/tildeverse-web
|
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
|
git clone git@git.sr.ht:~ajhalili2006/tildeweb
|
||||||
|
|
||||||
# maybe do this on a feature branch
|
# maybe do this on a feature branch
|
||||||
|
@ -32,12 +39,13 @@ nano markdown/path-to-file.md
|
||||||
git stage . && git commit --signoff
|
git stage . && git commit --signoff
|
||||||
|
|
||||||
# send patches via GitLab or GitHub through the CLI
|
# 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
|
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
|
gh -R ajhalili2006/tildeverse-web pr create # might automatically closes PR due to mirror status
|
||||||
|
|
||||||
# or via my public inbox on sourcehut
|
# or via my public inbox on sourcehut
|
||||||
# see https://git-send-email.io for setup and guide
|
# 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 format.subjectPrefix "PATCH tildeweb" # identification in archives + builds.sr.ht
|
||||||
git config --global sendemail.annotate yes
|
git config --global sendemail.annotate yes
|
||||||
git config --global format.signOff true # needed for compliance with Linux DCO
|
git config --global format.signOff true # needed for compliance with Linux DCO
|
||||||
|
|
|
@ -40,6 +40,7 @@ fi
|
||||||
|
|
||||||
if [[ ! -d "$_root_directory_git/public" ]]; then
|
if [[ ! -d "$_root_directory_git/public" ]]; then
|
||||||
bash "$_root_directory_git/bin/build.sh"
|
bash "$_root_directory_git/bin/build.sh"
|
||||||
|
cp markdown/.well-known public/ -rv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $FF_DIRTY_DEPLOY == "true" ]]; then
|
if [[ $FF_DIRTY_DEPLOY == "true" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue