generated from Seekra/repository-template
Compare commits
16
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f2793708c
|
||
|
|
6685820e64
|
||
|
|
c2c9734b6c
|
||
|
|
925644a5c8
|
||
|
|
2b4a194067
|
||
|
|
0dfd30a870
|
||
|
|
608b17c181
|
||
|
|
1160f5c924
|
||
|
|
94c66364a0
|
||
|
|
405481bca1
|
||
|
|
73ddacb1fe
|
||
|
|
c01353d6b7
|
||
|
|
48e955bbf6
|
||
|
|
62c050f2b6
|
||
|
|
8af71a05ce
|
||
|
|
43d5be194a
|
@@ -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 }}"
|
||||
|
||||
@@ -25,6 +25,7 @@ export default async function build () {
|
||||
const legalNoticeHtml = md.render(legalNoticeMd);
|
||||
|
||||
const fullLegalNoticeHTML = `
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
+10
-1
@@ -1,6 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased]
|
||||
## [1.0.1] - 2026-08-04
|
||||
|
||||
### Fixed
|
||||
|
||||
- Legal notice build artifact doctype
|
||||
- LFS data in production deployment workflow
|
||||
- Production deployment workflow license header
|
||||
- Production deployment workflow also ran on pre-releases
|
||||
|
||||
## [1.0.0] - 2026-08-02
|
||||
|
||||
### Added
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "frontend-assets",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "frontend-assets",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.1",
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"html-minifier-terser": "^7.2.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "frontend-assets",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.1",
|
||||
"description": "The assets for the frontend of Seekra",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user