Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upgrade-check: Add create cache directory step.

Gaurav Pandey9282956f199b
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml
index 61e4eeab02f..35f05d11d60 100644
--- a/.github/workflows/production-suite.yml
+++ b/.github/workflows/production-suite.yml
@@ -252,6 +252,12 @@ jobs:
chmod +x /tmp/production-verify
chmod +x /tmp/send-failure-message
+ - name: Create cache directories
+ run: |
+ dirs=(/srv/zulip-{npm,venv,emoji}-cache)
+ sudo mkdir -p "${dirs[@]}"
+ sudo chown -R github "${dirs[@]}"
+
- name: Upgrade production
run: sudo /tmp/production-upgrade