feat(deploy): deploy a release by hand from Gitea Actions
A deploy workflow, started only by hand (or through the API) and only from master, pulls the chosen image (release tag, sha or latest) and runs that image's own update.sh against VM103's compose directory through the Docker socket. update.sh now copies the database through the running server first, installs the image's compose.yaml and update.sh with --install, and restores the previous compose file together with the previous image when the new version does not come up. CI also builds release tags v*. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
119dd18d43
commit
136f9d2fb0
6 files changed
+160
-16
No files matched your search
@@ -6,6 +6,8 @@ data
|
||||
docs
|
||||
tools
|
||||
deploy
|
||||
!deploy/compose.yaml
|
||||
!deploy/update.sh
|
||||
.env
|
||||
.env.*
|
||||
*.log
|
||||
|
||||
Reference in new issue
Block a user