first commit

This commit is contained in:
2025-06-11 21:56:36 +04:00
parent 8af8c416f5
commit c8a3961935
7 changed files with 5593 additions and 2271 deletions

View File

@ -21,6 +21,10 @@ jobs:
load: true
tags: ebook:latest
- name: Save Docker image
run: |
docker save ebook:latest | gzip > ebook.tar.gz
- name: Deploy via API
env:
GITEA_API: "https://gitea.miduway.space/api/v1/repos/levis/ebook/raw/main"
@ -39,6 +43,13 @@ jobs:
"$GITEA_API/$file"
done
# Загружаем Docker образ
echo "Uploading Docker image..."
curl -X PUT \
-H "Authorization: token $GITEA_TOKEN" \
-T "ebook.tar.gz" \
"$GITEA_API/ebook.tar.gz"
# Выполняем деплой на сервер с игнорированием SSL
echo "Deploying to server..."
curl -k -X POST \