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"