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
jakob.scheidandGitea 1160f5c924 Merge pull request 'Chore(cd): production development only on stable releases' (#24) from fix/prod-deployment-workflow-only-on-stable-releases into main
Reviewed-on: #24
Reviewed-by: Johannes Vos
2026-08-03 17:28:46 +02:00
jakob.scheidandGitea 94c66364a0 chore(cd): run prod deployment only on stable releases 2026-08-03 17:28:18 +02:00
jakob.scheidandGitea 405481bca1 Merge pull request 'Docs(licenses): license header in production deployment workflow' (#26) from docs/prod-deployment-workflow-license-header into main
Reviewed-on: #26
Reviewed-by: Johannes Vos
2026-08-03 17:27:56 +02:00
jakob.scheid 73ddacb1fe docs(licenses): add license header to workflow
Added the license header to the production deployment workflow.
2026-08-03 17:07:15 +02:00
+29
View File
@@ -1,3 +1,17 @@
# Copyright 2026 Seekra
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Deploy on production
on:
@@ -10,6 +24,8 @@ permissions:
jobs:
deploy:
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
name: Deploy on production
runs-on: node-minio
@@ -17,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 }}"