1 Commits
Author SHA1 Message Date
jakob.scheidandGitea 608b17c181 chore(cd): checkout LFS in deployment workflow
The production deployment workflow now installs Git LFS and checkouts
LFS objects.
2026-08-03 17:41:17 +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 }}"