diff options
author | pommicket <pommicket@gmail.com> | 2023-09-06 11:37:24 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-06 11:44:36 -0400 |
commit | a06deaf3c9397d4f6b1697c3333e6bf13309fcd1 (patch) | |
tree | 6971caa7b090193840aa8671f8c36d25d5c3497c /Makefile | |
parent | 8d16e2d14ea9dafaea0af6c357ce1c09fefa0fde (diff) |
deploying
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,7 +2,11 @@ public-target: guide-target rm -rf public mkdir public cp -r guide public - cp index.html style.css pugl.js move.svg x.svg favicon.ico public/ + cp index.html icon.png style.css pugl.js move.svg x.svg favicon.ico public/ guide-target: python3 guide-src/make.py + +deploy: public-target + @[ `git diff HEAD | wc -c` = 0 ] || { echo 'there are uncommitted changes; please commit them first'; exit 1; } + rclone --s3-acl=public-read --transfers 16 --checkers 16 -P sync public/ linode://s.pommicket.com/pugl/ |