Merge pull request 'Chore: prepare release 0.1.0' (#189) from chore/prepare-1-0-0 into main
Deploy on dev / Deploy on dev (push) Successful in 41s
Deploy on production / Deploy on production (release) Skipped
Deploy on staging / Deploy on staging (release) Successful in 44s

Reviewed-on: #189
Reviewed-by: Jakob Gregory
This commit was merged in pull request #189.
This commit is contained in:
2026-08-09 19:27:28 +02:00
committed by Gitea
5 changed files with 135 additions and 6 deletions
+62
View File
@@ -0,0 +1,62 @@
# 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:
release:
types:
- published
permissions:
contents: read
jobs:
deploy:
if: ${{ !github.event.release.prerelease && !github.event.release.draft }}
name: Deploy on production
runs-on: node-minio
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
set -euo pipefail
npm install
- name: Build
run: |
set -euo pipefail
npm run build
- name: Set alias
run: mc alias set minio ${{ vars.S3_PROD_URL }} ${{ secrets.S3_PROD_ACCESS_KEY }} ${{ secrets.S3_PROD_SECRET_KEY }}
- name: Upload build artifacts to S3
run: |
set -euo pipefail
BUCKET=${{ vars.S3_PROD_BUCKET_NAME }}
BUILD_ID=$(date +%s)-$(git rev-parse --short HEAD)
echo "Build ID: $BUILD_ID"
mc cp --recursive ./dist/ "minio/$BUCKET/builds/$BUILD_ID/"
echo "Copied files"
echo "$BUILD_ID" | mc pipe "minio/$BUCKET/current"
echo "Updated current build pointer"
+62
View File
@@ -0,0 +1,62 @@
# 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 staging
on:
release:
types:
- published
permissions:
contents: read
jobs:
deploy:
if: ${{ github.event.release.prerelease && !github.event.release.draft }}
name: Deploy on staging
runs-on: node-minio
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
set -euo pipefail
npm install
- name: Build
run: |
set -euo pipefail
npm run build
- name: Set alias
run: mc alias set minio ${{ vars.S3_STAGING_URL }} ${{ secrets.S3_STAGING_ACCESS_KEY }} ${{ secrets.S3_STAGING_SECRET_KEY }}
- name: Upload build artifacts to S3
run: |
set -euo pipefail
BUCKET=${{ vars.S3_STAGING_BUCKET_NAME }}
BUILD_ID=$(date +%s)-$(git rev-parse --short HEAD)
echo "Build ID: $BUILD_ID"
mc cp --recursive ./dist/ "minio/$BUCKET/builds/$BUILD_ID/"
echo "Copied files"
echo "$BUILD_ID" | mc pipe "minio/$BUCKET/current"
echo "Updated current build pointer"
+7 -2
View File
@@ -1,6 +1,6 @@
# Changelog # Changelog
## [Unreleased] ## [0.1.0] - 2026-08-09
### Added ### Added
@@ -13,4 +13,9 @@
- Internationalization and some major languages - Internationalization and some major languages
- Color scheme - Color scheme
- Search results view with error message which indicates that the search is not available - Search results view with error message which indicates that the search is not available
- Settings renderer - Settings
- Setup scripts
- License script
- Prettier configuration
- ESLint configuration
- Legal notice page
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "frontend", "name": "frontend",
"version": "0.0.0", "version": "1.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "frontend", "name": "frontend",
"version": "0.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"pinia": "^3.0.4", "pinia": "^3.0.4",
"pinia-plugin-persistedstate": "^4.7.1", "pinia-plugin-persistedstate": "^4.7.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "frontend", "name": "frontend",
"private": true, "private": true,
"version": "0.0.0", "version": "1.0.0",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",