Skip to content

Commit

Permalink
Promote staging to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 16, 2024
1 parent 926f4cd commit c76f73c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -26,7 +26,7 @@ promoteprod:
rm -rf ../prod2
cd .. && cp -rf staging prod2
echo "prod" > ../prod2/config/current-env
cd ../prod2 && make && rm -rf ../prod && mv -vf ../prod2 ../prod && systemctl restart popplio-prod
cd ../prod2 && make && rm -rf ../prod && mv -vf ../prod2 ../prod && sudo systemctl restart popplio-prod
cd ../prod && make ts

# Git push to "current-prod" branch
Expand Down
2 changes: 1 addition & 1 deletion config/current-env
@@ -1 +1 @@
staging
prod

0 comments on commit c76f73c

Please sign in to comment.