about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-12-06 17:58:36 -0800
committerFranck Cuny <franck@fcuny.net>2021-12-06 17:58:36 -0800
commitf15fc5824ece25e28fc5ce0e50bd949dd10f33cb (patch)
treefd717bf3ea7814b11e708649691a15f5f251e65a
parentCSS: drop custom fonts + colors (diff)
downloadworld-f15fc5824ece25e28fc5ce0e50bd949dd10f33cb.tar.gz
build: push git branches / tags after deploy
After a successful deploy, push all the branches / tags to origin.
-rw-r--r--users/fcuny/blog/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/fcuny/blog/Makefile b/users/fcuny/blog/Makefile
index 81174c9..5414dde 100644
--- a/users/fcuny/blog/Makefile
+++ b/users/fcuny/blog/Makefile
@@ -19,6 +19,8 @@ deploy: worktree-clean docker-build
 	@echo "Deploying to fly ..."
 	flyctl deploy
 	@git tag -a --message $$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"') $$(flyctl info -j |jq -r '.App | "fcuny.net/v\(.Version)"')
+	@git push origin --all
+	@git push origin --tags
 
 docker-build:
 	@echo "Building Docker image ..."