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
This commit was merged in pull request #10.
This commit is contained in:
2026-04-03 13:33:18 +02:00
parent c23735f94d
commit eea734f2fe
2 changed files with 7 additions and 7 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:

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: |