Compare commits

6 Commits

Author SHA1 Message Date
c731b7eaf5 fix: refactor removal of old docker images
All checks were successful
Blog Test / Check-Rebuild (push) Successful in 6s
Blog Test / Build (push) Has been skipped
Blog Test / Deploy-Test (push) Successful in 9s
Blog Test / Test (push) Successful in 2s
Blog Deployment / Check-Rebuild (push) Successful in 6s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 10s
Blog Deployment / Test-Staging (push) Successful in 2s
Blog Deployment / Merge (push) Successful in 9s
Blog Deployment / Deploy-Production (push) Successful in 8s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 2s
2026-04-10 15:38:28 +02:00
4cc467b0db Merge branch 'main' into preview
All checks were successful
Blog Test / Check-Rebuild (push) Successful in 8s
Blog Test / Build (push) Has been skipped
Blog Test / Deploy-Test (push) Successful in 10s
Blog Test / Test (push) Successful in 2s
Blog Deployment / Check-Rebuild (push) Successful in 17s
Blog Deployment / Build (push) Successful in 34s
Blog Deployment / Deploy-Staging (push) Successful in 10s
Blog Deployment / Test-Staging (push) Successful in 30s
Blog Deployment / Merge (push) Successful in 10s
Blog Deployment / Deploy-Production (push) Successful in 11s
Blog Deployment / Test-Production (push) Successful in 2s
Blog Deployment / Clean (push) Successful in 2s
Blog Deployment / Notify (push) Successful in 2s
2026-04-03 12:45:14 +00:00
1712356889 fix: no-redirect (#12)
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 7s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 12s
Blog Deployment / Test-Staging (push) Successful in 3s
Blog Deployment / Merge (push) Failing after 8s
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 3s
Reviewed-on: #12
2026-04-03 14:43:06 +02:00
9a4f91dfbb Merge branch 'preview'
All checks were successful
Blog Test / Check-Rebuild (push) Successful in 8s
Blog Test / Build (push) Has been skipped
Blog Test / Deploy-Test (push) Successful in 11s
Blog Test / Test (push) Successful in 3s
2026-04-03 11:35:51 +00:00
eea734f2fe feat: create a dedicated dev pipeline (#10)
All checks were successful
Blog Deployment / Check-Rebuild (push) Successful in 7s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 11s
Blog Deployment / Test-Staging (push) Successful in 4s
Blog Deployment / Merge (push) Successful in 8s
Blog Deployment / Deploy-Production (push) Successful in 12s
Blog Deployment / Test-Production (push) Successful in 3s
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 3s
Reviewed-on: #10
2026-04-03 13:33:18 +02:00
4c2265cde6 fix: revert to git clone instead of checkout
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 20s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 14s
Blog Deployment / Test-Staging (push) Failing after 4s
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Notify (push) Successful in 5s
2026-03-30 10:49:02 +00:00
3 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,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.com/Vezpi/blog.git .
run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git .
- name: Check Latest Hugo Version
id: get_latest
@@ -79,7 +79,7 @@ jobs:
shell: sh
steps:
- name: Checkout Repository
run: git clone --branch preview https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git .
run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git .
- name: Build Docker Image
run: |
@@ -116,7 +116,7 @@ jobs:
needs: Deploy-Staging
runs-on: ubuntu
env:
URL: "https://blog-dev.vezpi.com/en/"
URL: "https://blog-staging.vezpi.com/en/"
steps:
- name: Check HTTP Response
run: |
@@ -143,7 +143,7 @@ jobs:
- name: Merge preview Branch on main
run: |
git merge --ff-only origin/preview
git merge --ff-only origin/${{ gitea.ref_name }}
git push origin main
Deploy-Production:
@@ -194,7 +194,7 @@ jobs:
steps:
- name: Remove Old Docker Image
run: |
docker image rm ${{ needs.Check-Rebuild.outputs.current_docker_image }} --force
docker image rm $(docker image ls ${DOCKER_IMAGE} 2> /dev/null | awk '$NF != "U" && NR>1 {print $2}')
Notify:
needs: [Check-Rebuild, Build, Deploy-Staging, Test-Staging, Merge, Deploy-Production, Test-Production, Clean]

View File

@@ -87,7 +87,7 @@ jobs:
--build-arg HUGO_VERSION=${{ needs.Check-Rebuild.outputs.latest_hugo_version }} \
--tag ${DOCKER_IMAGE}:${{ needs.Check-Rebuild.outputs.latest_hugo_version }} \
.
docker tag ${DOCKER_IMAGE}:${{ needs.Check-Rebuild.outputs.latest_hugo_version }} ${DOCKER_IMAGE}:test
docker tag ${DOCKER_IMAGE}:${{ needs.Check-Rebuild.outputs.latest_hugo_version }} ${DOCKER_IMAGE}:dev
Deploy-Test:
needs:
@@ -102,7 +102,7 @@ jobs:
run:
shell: sh
env:
CONTAINER_NAME: blog_test
CONTAINER_NAME: blog_dev
steps:
- name: Launch Blog Test Deployment
run: |
@@ -117,7 +117,7 @@ jobs:
needs: Deploy-Test
runs-on: ubuntu
env:
URL: "https://blog-test.vezpi.com/en/"
URL: "https://blog-dev.vezpi.com/en/"
steps:
- name: Check HTTP Response
run: |

View File

@@ -7,7 +7,7 @@
{{ $color := partial "helper/color-from-str" .LinkTitle }}
{{ $BackgroundColor := default $color.BackgroundColor .Params.style.background }}
{{ $TextColor := default $color.TextColor .Params.style.color }}
<a href="{{ .RelPermalink }}" style="background-color: {{ $BackgroundColor | safeCSS }}; color: {{ $TextColor | safeCSS }};">
<a href="{{ $Page.RelPermalink }}" style="background-color: {{ $BackgroundColor | safeCSS }}; color: {{ $TextColor | safeCSS }};">
{{ .LinkTitle }}
</a>
{{ end }}
@@ -16,7 +16,7 @@
<div class="article-title-wrapper">
<h2 class="article-title">
<a href="{{ .RelPermalink }}">
<a href="{{ $Page.RelPermalink }}">
{{- $Page.Title -}}
</a>
</h2>