diff --git a/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.fr.md b/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.fr.md index eb311ac..bc24643 100644 --- a/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.fr.md +++ b/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.fr.md @@ -53,7 +53,7 @@ L'idée est simple : 1. J'écris le contenu de mon blog dans mon vault Obsidian, sous un dossier `Blog`. 2. Une fois le fichier modifié, le plugin Git Obsidian effectue automatiquement les commits et les poussent vers le dépôt Gitea. 3. Lorsque Gitea reçoit ce push, une première Gitea Action est déclenchée. -4. La première action synchronise le contenu du blog mis à jour avec un autre dépôt [Git distinct](https://git.vezpi.me/Vezpi/blog) qui héberge le contenu. +4. La première action synchronise le contenu du blog mis à jour avec un autre dépôt [Git distinct](https://git.vezpi.com/Vezpi/blog) qui héberge le contenu. 5. Dans ce dépôt, une autre Gitea Action est déclenchée. 6. La deuxième Gitea Action génère les pages web statiques tout en mettant à jour Hugo si nécessaire. 7. Le blog est maintenant mis à jour (celui que vous lisez). @@ -78,7 +78,7 @@ Le vault Obsidian est un dépôt Git privé self-hosted dans Gitea. J'utilise Do container_name: gitea_runner restart: on-failure environment: - - GITEA_INSTANCE_URL=https://git.vezpi.me + - GITEA_INSTANCE_URL=https://git.vezpi.com - GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}$ - GITEA_RUNNER_NAME=self-hosted - GITEA_RUNNER_LABELS=ubuntu:docker://node:lts,alpine:docker://node:lts-alpine @@ -140,7 +140,7 @@ jobs: uses: actions/checkout@v4 - name: Clone the blog repository - run: git clone https://${{ secrets.REPO_TOKEN }}@git.vezpi.me/Vezpi/blog.git + run: git clone https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git - name: Transfer blog content from Obsidian run: | diff --git a/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.md b/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.md index b113f3c..540ba8d 100644 --- a/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.md +++ b/content/post/2-blog-deployment-obisidan-hugo-gitea-actions.md @@ -52,7 +52,7 @@ The idea is simple: 1. I write blog content in my Obsidian vault, under a specific `Blog` folder. 2. When I'm done editing the file, the Obisdian Git plugin automatically commits and push updates to the Gitea repository 3. When Gitea receives that push, a first Gitea Action is triggered. -4. The first action syncs the updated blog content to another separate [Git repository](https://git.vezpi.me/Vezpi/blog) which hosts my blog content. +4. The first action syncs the updated blog content to another separate [Git repository](https://git.vezpi.com/Vezpi/blog) which hosts my blog content. 5. In that blog repository, another Gitea Action is triggered. 6. The second Gitea Action generates the static web pages while upgrading Hugo if needed 7. The blog is now updated (the one you are reading). @@ -77,7 +77,7 @@ The Obsidian vault is a private Git repository self-hosted in Gitea. I use docke container_name: gitea_runner restart: on-failure environment: - - GITEA_INSTANCE_URL=https://git.vezpi.me + - GITEA_INSTANCE_URL=https://git.vezpi.com - GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}$ - GITEA_RUNNER_NAME=self-hosted - GITEA_RUNNER_LABELS=ubuntu:docker://node:lts,alpine:docker://node:lts-alpine @@ -139,7 +139,7 @@ jobs: uses: actions/checkout@v4 - name: Clone the blog repository - run: git clone https://${{ secrets.REPO_TOKEN }}@git.vezpi.me/Vezpi/blog.git + run: git clone https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git - name: Transfer blog content from Obsidian run: | diff --git a/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.fr.md b/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.fr.md index 753b71d..c1aaf8a 100644 --- a/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.fr.md +++ b/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.fr.md @@ -20,7 +20,7 @@ Le blog étant redéployé de façon automatique à chaque modification du conte ## Sécuriser le Déploiement du Blog -Aujourd'hui mon blog se redéploie automatiquement à chaque modification de la branche `main` du [dépôt Git](https://git.vezpi.me/Vezpi/Blog) de mon instance **Gitea** via une **Gitea Actions**. Chaque modification apportée à mon vault **Obsidian** est poussée automatiquement dans cette branche. +Aujourd'hui mon blog se redéploie automatiquement à chaque modification de la branche `main` du [dépôt Git](https://git.vezpi.com/Vezpi/Blog) de mon instance **Gitea** via une **Gitea Actions**. Chaque modification apportée à mon vault **Obsidian** est poussée automatiquement dans cette branche. ![Workflow depuis l'écriture de notes sur Obsidian au Blog publié](img/obsidian-blog-gitea-actions-workflow.png) @@ -96,7 +96,7 @@ Par défaut, au lancement d'un conteneur `nginx`, il se contente de lancer le se set -e # Configuration -REPO_URL="${REPO_URL:-https://git.vezpi.me/Vezpi/blog.git}" +REPO_URL="${REPO_URL:-https://git.vezpi.com/Vezpi/blog.git}" URL="${URL:-blog.vezpi.com}" BRANCH="${BRANCH:-preview}" CLONE_DIR="${CLONE_DIR:-/blog}" @@ -177,7 +177,7 @@ Voici la nouvelle configuration de mon `runner` dans ma stack Gitea, gérée par container_name: gitea_runner restart: always environment: - - GITEA_INSTANCE_URL=https://git.vezpi.me + - GITEA_INSTANCE_URL=https://git.vezpi.com - GITEA_RUNNER_REGISTRATION_TOKEN= - GITEA_RUNNER_NAME=self-hosted - GITEA_RUNNER_LABELS=ubuntu:docker://node:lts,alpine:docker://node:lts-alpine,docker:docker://docker:cli @@ -241,7 +241,7 @@ jobs: docker_folder_changed: ${{ steps.docker_folder.outputs.changed }} steps: - name: Checkout Repository - run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.me/Vezpi/blog.git . + run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git . - name: Check Latest Hugo Version id: get_latest @@ -296,7 +296,7 @@ jobs: shell: sh steps: - name: Checkout Repository - run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.me/Vezpi/blog.git . + run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git . - name: Build Docker Image run: | diff --git a/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.md b/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.md index 204472a..ce65b5c 100644 --- a/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.md +++ b/content/post/4-blog-deployment-ci-cd-pipeline-gitea-actions.md @@ -20,7 +20,7 @@ Since the blog is automatically redeployed every time I modify content in Obsidi ## Securing the Blog Deployment -Currently, my blog redeploys automatically on every change to the `main` branch of the [Git repository](https://git.vezpi.me/Vezpi/Blog) hosted on my **Gitea** instance, using a **Gitea Actions** workflow. Every change made in my **Obsidian** vault is automatically pushed to this branch. +Currently, my blog redeploys automatically on every change to the `main` branch of the [Git repository](https://git.vezpi.com/Vezpi/Blog) hosted on my **Gitea** instance, using a **Gitea Actions** workflow. Every change made in my **Obsidian** vault is automatically pushed to this branch. ![Workflow depuis l'écriture de notes sur Obsidian au Blog publié](img/obsidian-blog-gitea-actions-workflow.png) @@ -96,7 +96,7 @@ By default, a `nginx` container simply starts the web server. But here I wanted set -e # Configuration -REPO_URL="${REPO_URL:-https://git.vezpi.me/Vezpi/blog.git}" +REPO_URL="${REPO_URL:-https://git.vezpi.com/Vezpi/blog.git}" URL="${URL:-blog.vezpi.com}" BRANCH="${BRANCH:-preview}" CLONE_DIR="${CLONE_DIR:-/blog}" @@ -177,7 +177,7 @@ Here is the new configuration of my `runner` in my Gitea stack, also managed via container_name: gitea_runner restart: always environment: - - GITEA_INSTANCE_URL=https://git.vezpi.me + - GITEA_INSTANCE_URL=https://git.vezpi.com - GITEA_RUNNER_REGISTRATION_TOKEN= - GITEA_RUNNER_NAME=self-hosted - GITEA_RUNNER_LABELS=ubuntu:docker://node:lts,alpine:docker://node:lts-alpine,docker:docker://docker:cli @@ -241,7 +241,7 @@ jobs: docker_folder_changed: ${{ steps.docker_folder.outputs.changed }} steps: - name: Checkout Repository - run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.me/Vezpi/blog.git . + run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git . - name: Check Latest Hugo Version id: get_latest @@ -296,7 +296,7 @@ jobs: shell: sh steps: - name: Checkout Repository - run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.me/Vezpi/blog.git . + run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git . - name: Build Docker Image run: |