From 2909160b17f9c81b47c63d8e7455377edb98d180 Mon Sep 17 00:00:00 2001 From: levis Date: Thu, 19 Jun 2025 18:08:01 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/deploy.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 4bf118c..afaa2c3 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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"