]> Untitled Git - lemmy-ui.git/blobdiff - deploy.sh
feat(theme): Vaporwave (#1682)
[lemmy-ui.git] / deploy.sh
index 9d50a481a81ae8a4bf3dc76e74d48d68d1ade63a..e919779a57b6b4b86c2056c4c088f8376176add8 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,9 +1,16 @@
 #!/bin/bash
+set -e
 
 new_tag="$1"
 
-sudo docker build . --tag dessalines/lemmy-isomorphic-ui:$new_tag
-sudo docker push dessalines/lemmy-isomorphic-ui:$new_tag
+# Old deploy
+# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64 --push
+# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64
+# sudo docker push dessalines/lemmy-ui:$new_tag
+
+# Upgrade version
+yarn version --new-version $new_tag
+git push
 
 git tag $new_tag
 git push origin $new_tag