mirror of https://github.com/zulip/zulip.git
upgrade-check: Add create cache directory step.
Create cache directories for the upgrade check in the production-suite.
This commit is contained in:
parent
37f98fdec8
commit
9282956f19
|
@ -252,6 +252,12 @@ jobs:
|
||||||
chmod +x /tmp/production-verify
|
chmod +x /tmp/production-verify
|
||||||
chmod +x /tmp/send-failure-message
|
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
|
- name: Upgrade production
|
||||||
run: sudo /tmp/production-upgrade
|
run: sudo /tmp/production-upgrade
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue