- commit
- 4dd9d7f
- parent
- 28f0004
- author
- Eric Bower
- date
- 2023-08-04 19:18:51 +0000 UTC
feat: make cmd for pgs static site deploy
1 files changed,
+5,
-1
M
Makefile
M
Makefile
+5,
-1
1@@ -66,10 +66,14 @@ pgs-static:
2 pgs-site:
3 rm -rf tmp
4 mkdir tmp
5- ./build/pgs-static -out ./tmp
6+ PGS_EMAIL=hello@pico.sh PGS_DOMAIN=pgs.sh PGS_PROTOCOL=https ./build/pgs-static -out ./tmp
7 cp ./pgs/public/* ./tmp
8 .PHONY: pgs-site
9
10+pgs-deploy: pgs-static pgs-site
11+ scp -R ./tmp/* hey@pgs.sh:/pgs-prod
12+.PHONY: pgs-site-deploy
13+
14 format:
15 go fmt ./...
16 .PHONY: format