Chore(cd): checkout Git LFS data in production deployment workflow #23

Merged
jakob.scheid merged 1 commits from fix/prod-deployment-cd-pipeline-git-lfs into main 2026-08-04 00:43:53 +02:00
+13
View File
@@ -33,6 +33,19 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Git LFS
- run: |
apt-get update
apt-get install -y git-lfs
- name: Checkout LFS
run: |
git lfs install --local
AUTH=$(git config --local http.${{ gitea.server_url }}/.extraheader)
git config --local --unset http.${{ gitea.server_url }}/.extraheader
git config --local http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- name: Set alias
run: |
mc alias set minio "${{ vars.S3_PROD_URL }}" "${{ secrets.S3_PROD_ACCESS_KEY }}" "${{ secrets.S3_PROD_SECRET_KEY }}"