generated from Seekra/repository-template
Compare commits
29
Commits
main
..
a913b16f7c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a913b16f7c
|
||
|
|
ea5e238ad0
|
||
|
|
1932eaf154
|
||
|
|
805c2511da
|
||
|
|
84fd01a653
|
||
|
|
73f7b8d087
|
||
|
|
4809ab4330
|
||
|
|
7bc661ef5a
|
||
|
|
10c3571e8f
|
||
|
|
6d19f9da11
|
||
|
|
8cf4d67af7
|
||
|
|
d0590e2f19
|
||
|
|
82580ff9b7
|
||
|
|
e38e525d7a
|
||
|
|
8fe20970e5
|
||
|
|
01df3b8932
|
||
|
|
2b6d84b0cb
|
||
|
|
99eabaa371
|
||
|
|
b08a76fbc2
|
||
|
|
d3703005a0
|
||
|
|
40982aed96
|
||
|
|
aca681c79f
|
||
|
|
2520fff771
|
||
|
|
9d252d5e62
|
||
|
|
7c082ba696
|
||
|
|
302e34e4ca
|
||
|
|
879199d936
|
||
|
|
9a338ff540
|
||
|
|
211dae5f7b
|
@@ -1,62 +0,0 @@
|
|||||||
# 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"
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
# 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"
|
|
||||||
+3
-8
@@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## [0.1.0] - 2026-08-09
|
## [Unreleased]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@@ -8,14 +8,9 @@
|
|||||||
- Settings page
|
- Settings page
|
||||||
- Footer
|
- Footer
|
||||||
- Navbar
|
- Navbar
|
||||||
- Search bar
|
- Searchbar
|
||||||
- Icons
|
- Icons
|
||||||
- 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
|
- Settings renderer
|
||||||
- Setup scripts
|
|
||||||
- License script
|
|
||||||
- Prettier configuration
|
|
||||||
- ESLint configuration
|
|
||||||
- Legal notice page
|
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"version": "0.1.0",
|
"version": "0.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"version": "0.1.0",
|
"version": "0.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
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "frontend",
|
"name": "frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ limitations under the License.
|
|||||||
import logo from '@/assets/images/logo.svg';
|
import logo from '@/assets/images/logo.svg';
|
||||||
import SearchBar from '@/features/search/components/SearchBar.vue';
|
import SearchBar from '@/features/search/components/SearchBar.vue';
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
|
const { t } = useI18n();
|
||||||
|
|
||||||
const searchQuery = ref('');
|
const searchQuery = ref('');
|
||||||
</script>
|
</script>
|
||||||
@@ -26,6 +29,9 @@ const searchQuery = ref('');
|
|||||||
<div class="search-content main-content-padding">
|
<div class="search-content main-content-padding">
|
||||||
<header class="global-header">
|
<header class="global-header">
|
||||||
<img :src="logo" alt="Seekra" class="header-logo" />
|
<img :src="logo" alt="Seekra" class="header-logo" />
|
||||||
|
<span class="slogan">
|
||||||
|
{{ t('slogan') }}
|
||||||
|
</span>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="search-container">
|
<div class="search-container">
|
||||||
@@ -60,6 +66,12 @@ const searchQuery = ref('');
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.slogan {
|
||||||
|
margin-top: 1rem;
|
||||||
|
font-size: small;
|
||||||
|
line-height: normal;
|
||||||
|
}
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
max-width: 624px;
|
max-width: 624px;
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"slogan": "Gebaut zum Suchen.",
|
||||||
"settings": {
|
"settings": {
|
||||||
"input": {
|
"input": {
|
||||||
"done": {
|
"done": {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"slogan": "Built to search.",
|
||||||
"settings": {
|
"settings": {
|
||||||
"input": {
|
"input": {
|
||||||
"done": {
|
"done": {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"slogan": "Hecho para buscar.",
|
||||||
"settings": {
|
"settings": {
|
||||||
"input": {
|
"input": {
|
||||||
"done": {
|
"done": {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"slogan": "Conçu pour chercher.",
|
||||||
"settings": {
|
"settings": {
|
||||||
"input": {
|
"input": {
|
||||||
"done": {
|
"done": {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"slogan": "Costruito per cercare.",
|
||||||
"settings": {
|
"settings": {
|
||||||
"input": {
|
"input": {
|
||||||
"done": {
|
"done": {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"slogan": "Feito para pesquisar.",
|
||||||
"settings": {
|
"settings": {
|
||||||
"input": {
|
"input": {
|
||||||
"done": {
|
"done": {
|
||||||
|
|||||||
Reference in New Issue
Block a user