fix: revert to git clone instead of checkout
Some checks failed
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) Failing after 5s

This commit is contained in:
2026-03-30 09:29:42 +00:00
parent 44bf161765
commit e170345fdd

View File

@@ -23,10 +23,7 @@ jobs:
docker_folder_changed: ${{ steps.docker_folder.outputs.changed }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ gitea.ref_name }}
token: ${{ secrets.REPO_TOKEN }}
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
@@ -81,10 +78,7 @@ jobs:
shell: sh
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ gitea.ref_name }}
token: ${{ secrets.REPO_TOKEN }}
run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git .
- name: Build Docker Image
run: |