diff --git a/.gitea/workflows/deploy-server.yaml b/.gitea/workflows/deploy-server.yaml index b19615b..f15a4b1 100644 --- a/.gitea/workflows/deploy-server.yaml +++ b/.gitea/workflows/deploy-server.yaml @@ -10,7 +10,7 @@ on: - "cars/**" # Only run if archives in cars/ change env: - GIT_DEFAULT_HASH: sha256 + GIT_DEFAULT_HASH: sha1 jobs: prepare-server-content: @@ -20,9 +20,9 @@ jobs: - name: Pre-initialize Repository with SHA-256 run: | mkdir -p ${{ github.workspace }} - git init --object-format=sha256 ${{ github.workspace }} + git init --object-format=sha1 ${{ github.workspace }} - - name: Manual Checkout (SHA-256 Force) + - name: Manual Checkout (SHA-1 Force) env: # This token is automatically provided by Gitea/GitHub Actions TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -31,8 +31,8 @@ jobs: # 1. Clean workspace explicitly to be safe rm -rf ./* ./.git - # 2. Initialize specifically with SHA-256 - git init --object-format=sha256 + # 2. Initialize specifically with SHA-1 + git init --object-format=sha1 # 3. Add remote with authentication embedded # Use the environment variable to keep the log clean