|
|
@@ -99,14 +99,14 @@ a user-visible change. The git commit is added automatically at build time.
|
|
|
|
|
|
## Deployment
|
|
|
|
|
|
-Runs as systemd unit `goapp@posts` on port 8002 behind nginx. Deploy with:
|
|
|
+Runs as systemd unit `goapp@posts` on port 8002 behind nginx.
|
|
|
|
|
|
-```sh
|
|
|
-deploy-go posts --content
|
|
|
-```
|
|
|
+Merging a pull request into `main` deploys it automatically. The pipeline in
|
|
|
+[bajdev/devops](https://git.monoaf.com/bajdev/devops) builds the merge commit,
|
|
|
+syncs `content/` to `/opt/apps/posts/content/`, restarts the app, and tags
|
|
|
+the release `deploy/posts/<UTC time>`. There's no manual deploy step.
|
|
|
|
|
|
-which builds and installs the binary and syncs `content/` to
|
|
|
-`/opt/apps/posts/content/`.
|
|
|
+To roll back to an earlier release, see "Rollback" in the devops README.
|
|
|
|
|
|
## License
|
|
|
|