aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot@localhost <root@localhost>2023-07-21 15:13:38 +0000
committerroot@localhost <root@localhost>2023-07-21 15:13:38 +0000
commite1260805123673e6047e2dbe517dbe278f232f0c (patch)
treec07e2280283787215c7cf36227a764d46312e782
parent31193bf3d838a9ba13aaa131cf0172a6cee97173 (diff)
better deploy
-rw-r--r--README.md11
-rwxr-xr-xdeploy.sh5
2 files changed, 6 insertions, 10 deletions
diff --git a/README.md b/README.md
index 7740973..6578eb8 100644
--- a/README.md
+++ b/README.md
@@ -23,16 +23,7 @@ docker run --rm -it \
klakegg/hugo:latest \
server -D
```
-
-# Build
-```bash
-hugo -D
-
-# Docker:
-docker run --rm -it \
- -v $(pwd):/src \
- klakegg/hugo:latest
-```
+Then go to `localhost:1313`.
# Publish
```bash
diff --git a/deploy.sh b/deploy.sh
index 6351fbd..e63e01d 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
+# more like build + deploy
+
+docker run --rm -it \
+ -v $(pwd):/src \
+ klakegg/hugo:latest
source .env
docker run -t --rm \