change: preview by gitea.ref_name
Some checks failed
Blog Test / Check-Rebuild (push) Successful in 8s
Blog Test / Build (push) Successful in 12s
Blog Test / Deploy-Test (push) Failing after 3s
Blog Test / Test (push) Has been skipped

This commit is contained in:
2026-04-03 09:14:34 +00:00
parent a1253eb40b
commit b1590f913c

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