forked from gotson/komga
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
105 changed files
with
2,780 additions
and
567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: build-test | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Test server | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
java-package: 'jdk' | ||
distribution: 'temurin' | ||
|
||
- name: npm install | ||
working-directory: komga-webui | ||
run: npm install | ||
- name: npm build | ||
working-directory: komga-webui | ||
run: | | ||
npm run build | ||
mkdir ../komga/src/main/resources/public | ||
cp -r dist/* ../komga/src/main/resources/public/ | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=4096" | ||
|
||
- name: Build | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
arguments: :komga:bootJar | ||
- name: ls | ||
run: | | ||
version=$(grep '^version=' gradle.properties | cut -d'=' -f2) | ||
echo "version=v$version" >> $GITHUB_ENV | ||
ls komga/build | ||
cp -r komga/build/* | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: ${{ env.version }} | ||
body: ${{ env.version }} | ||
tag_name: ${{ env.version }} | ||
append_body: false | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
files: | | ||
komga/build/libs/*.jar | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./komga | ||
file: ./komga/docker/Dockerfile.tpl | ||
push: true | ||
tags: wushuo894/komga-cn:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
version=1.12.0 | ||
version=1.14.0 | ||
org.gradle.jvmargs=-Xmx2G |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
komga: | ||
config-dir: ${LOCALAPPDATA}/Komga | ||
kobo.kepubify-path: kepubify.exe | ||
spring: | ||
config: | ||
import: | ||
- "optional:file:${komga.config-dir}/application.yml" | ||
- "optional:file:${komga.config-dir}/application.yaml" | ||
- "optional:file:${komga.config-dir}/application.properties" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dialog_error.close=Luk | ||
dialog_error.copy_clipboard=Kopier til udklipsholder | ||
dialog_error.title=Komga kunne ikke starte | ||
error_message.port_in_use=Port {} er allerede i brug.\nKomga kører sandsynligvis allerede.\nTjek systembakken eller menulinjen for Komga-ikonet. | ||
error_message.unexpected=Der opstod en uventet fejl. | ||
menu.open_komga=Åbn Komga | ||
menu.quit=Afslut Komga | ||
menu.show_conf_dir=Åbn konfigurationsmappen | ||
menu.show_log=Vis logfil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dialog_error.close=Zatvori | ||
dialog_error.copy_clipboard=Kopiraj u međuspremnik | ||
dialog_error.title=Komga se nije mogao pokrenuti | ||
error_message.port_in_use=Priključak {} se već koristi.\nKomga vjerojatno već radi.\nPotraži Komga ikonu u traci ikona ili traci izbornika. | ||
error_message.unexpected=Dogodila se neočekivana greška. | ||
menu.open_komga=Otvori Komga | ||
menu.quit=Zatvori Komga | ||
menu.show_conf_dir=Otvori mapu konfiguracije | ||
menu.show_log=Prikaži log-datoteku |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dialog_error.close=Fechar | ||
error_message.unexpected=Ocorreu um erro inesperado. | ||
menu.open_komga=Abrir Komga | ||
menu.quit=Fechar Komga |
Empty file.
Oops, something went wrong.