Compare commits
10 Commits
e396883830
...
production
Author | SHA1 | Date | |
---|---|---|---|
5c97679188 | |||
6eb987ffdb | |||
f2f7798e83 | |||
a783918241 | |||
6c8a6e7c35 | |||
1823cd87b6 | |||
9950665146 | |||
b73a9f5b3f | |||
2909160b17 | |||
2ef59fee78 |
@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
- name: Upload files via Gitea API
|
||||
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 }}
|
||||
run: |
|
||||
for file in Dockerfile docker-compose.yml; do
|
||||
@ -34,11 +34,11 @@ jobs:
|
||||
-H "Authorization: token $TOKEN" \
|
||||
-H "Content-Type: text/plain" \
|
||||
-T "$file" \
|
||||
"$GITEA_API/$file?branch=production"
|
||||
"$GITEA_API/$file?branch=main"
|
||||
done
|
||||
|
||||
curl -X PUT \
|
||||
-H "Authorization: token $TOKEN" \
|
||||
-H "Content-Type: application/gzip" \
|
||||
-T "deploy.tar.gz" \
|
||||
"$GITEA_API/deploy.tar.gz?branch=production"
|
||||
"$GITEA_API/deploy.tar.gz?branch=main"
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -30,5 +30,5 @@ dist
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
package-lock.json
|
||||
frontend.env
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:22-alpine
|
||||
FROM node:22-slim
|
||||
WORKDIR /usr/src/app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
@ -4,7 +4,6 @@ Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduct
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
Make sure to install dependencies:
|
||||
|
||||
```bash
|
||||
|
19488
package-lock.json
generated
19488
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
<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">
|
||||
<div v-html="renderedContent" class="prose prose-invert max-w-none"></div>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user