generated from Seekra/repository-template
Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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
|
name: Deploy on production
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -10,6 +24,8 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
|
||||||
|
|
||||||
name: Deploy on production
|
name: Deploy on production
|
||||||
|
|
||||||
runs-on: node-minio
|
runs-on: node-minio
|
||||||
@@ -17,6 +33,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- name: Set alias
|
||||||
run: |
|
run: |
|
||||||
mc alias set minio "${{ vars.S3_PROD_URL }}" "${{ secrets.S3_PROD_ACCESS_KEY }}" "${{ secrets.S3_PROD_SECRET_KEY }}"
|
mc alias set minio "${{ vars.S3_PROD_URL }}" "${{ secrets.S3_PROD_ACCESS_KEY }}" "${{ secrets.S3_PROD_SECRET_KEY }}"
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## [Unreleased]
|
## [1.0.0] - 2026-08-02
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend-assets",
|
"name": "frontend-assets",
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "frontend-assets",
|
"name": "frontend-assets",
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"html-minifier-terser": "^7.2.0",
|
"html-minifier-terser": "^7.2.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend-assets",
|
"name": "frontend-assets",
|
||||||
"version": "0.1.0",
|
"version": "1.0.0",
|
||||||
"description": "The assets for the frontend of Seekra",
|
"description": "The assets for the frontend of Seekra",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user