Compare commits
9 Commits
e396883830
...
6eb987ffdb
Author | SHA1 | Date | |
---|---|---|---|
6eb987ffdb | |||
f2f7798e83 | |||
a783918241 | |||
6c8a6e7c35 | |||
1823cd87b6 | |||
9950665146 | |||
b73a9f5b3f | |||
2909160b17 | |||
2ef59fee78 |
@ -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
2
.gitignore
vendored
@ -30,5 +30,5 @@ dist
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
package-lock.json
|
||||||
frontend.env
|
frontend.env
|
||||||
|
@ -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
|
||||||
|
@ -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
19488
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user