10 Commits

Author SHA1 Message Date
5c97679188 fix
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 3m40s
2025-06-21 10:06:45 +04:00
6eb987ffdb fix DockerFile
Some checks failed
Deploy Nuxt App / deploy (push) Has been cancelled
2025-06-21 06:06:07 +00:00
f2f7798e83 :wqMerge branch 'production' of https://gitea.miduway.space/levis/ebook into production 2025-06-21 05:41:27 +00:00
a783918241 :Merge branch 'production' of https://gitea.miduway.space/levis/ebook into production 2025-06-20 13:57:16 +00:00
6c8a6e7c35 Merge branch 'production' of https://gitea.miduway.space/levis/ebook into production 2025-06-20 10:45:02 +00:00
1823cd87b6 Merge branch 'production' of https://gitea.miduway.space/levis/ebook into production 2025-06-20 08:25:01 +00:00
9950665146 Merge branch 'production' of https://gitea.miduway.space/levis/ebook into production 2025-06-19 18:35:02 +00:00
b73a9f5b3f Обновить README.md
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 1m47s
2025-06-19 18:17:46 +00:00
2909160b17 Обновить .gitea/workflows/deploy.yml
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 1m47s
2025-06-19 18:08:01 +00:00
2ef59fee78 Обновить README.md
All checks were successful
Deploy Nuxt App / deploy (push) Successful in 2m26s
2025-06-19 18:01:41 +00:00
6 changed files with 6 additions and 19495 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: Upload files via Gitea API - name: Upload files via Gitea API
env: env:
GITEA_API: "https://gitea.miduway.space/api/v1/repos/levis/ebook/raw/production" GITEA_API: "https://gitea.miduway.space/api/v1/repos/levis/ebook/raw/main"
GITEA_TOKEN: ${{ secrets.TOKEN }} GITEA_TOKEN: ${{ secrets.TOKEN }}
run: | run: |
for file in Dockerfile docker-compose.yml; do for file in Dockerfile docker-compose.yml; do
@ -34,11 +34,11 @@ jobs:
-H "Authorization: token $TOKEN" \ -H "Authorization: token $TOKEN" \
-H "Content-Type: text/plain" \ -H "Content-Type: text/plain" \
-T "$file" \ -T "$file" \
"$GITEA_API/$file?branch=production" "$GITEA_API/$file?branch=main"
done done
curl -X PUT \ curl -X PUT \
-H "Authorization: token $TOKEN" \ -H "Authorization: token $TOKEN" \
-H "Content-Type: application/gzip" \ -H "Content-Type: application/gzip" \
-T "deploy.tar.gz" \ -T "deploy.tar.gz" \
"$GITEA_API/deploy.tar.gz?branch=production" "$GITEA_API/deploy.tar.gz?branch=main"

2
.gitignore vendored
View File

@ -30,5 +30,5 @@ dist
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
package-lock.json
frontend.env frontend.env

View File

@ -1,4 +1,4 @@
FROM node:22-alpine FROM node:22-slim
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install

View File

@ -4,7 +4,6 @@ Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduct
## Setup ## Setup
Make sure to install dependencies: Make sure to install dependencies:
```bash ```bash

19488
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
<template> <template>
<div v-if="content" class="relative z-50 min-h-screen text-white mb-[208px]"> <div v-if="content" class="relative z-50 min-h-screen text-white mb-[208px] ml-4">
<section class="flex flex-col relative z-40 mt-40 ml-18 mr-18"> <section class="flex flex-col relative z-40 mt-40 ml-18 mr-18">
<div v-html="renderedContent" class="prose prose-invert max-w-none"></div> <div v-html="renderedContent" class="prose prose-invert max-w-none"></div>
</section> </section>