16
.github/workflows/nightly_installer.yml
vendored
16
.github/workflows/nightly_installer.yml
vendored
@@ -23,6 +23,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
wget https://get.chatwoot.app/linux/install.sh
|
wget https://get.chatwoot.app/linux/install.sh
|
||||||
chmod +x install.sh
|
chmod +x install.sh
|
||||||
|
#fix for postgtres not starting automatically in gh action env
|
||||||
|
sed -i '/function configure_db() {/a sudo service postgresql start' install.sh
|
||||||
|
|
||||||
- name: create input file
|
- name: create input file
|
||||||
run: |
|
run: |
|
||||||
@@ -33,20 +35,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo ./install.sh --install < input
|
sudo ./install.sh --install < input
|
||||||
|
|
||||||
# temp fix for postgresql not starting
|
|
||||||
# automatically in gh action env
|
|
||||||
- name: start postgresql service
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
sudo service postgresql start
|
|
||||||
|
|
||||||
#re-running the installer again
|
|
||||||
- name: Run the installer again
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
sudo ./install.sh --install < input
|
|
||||||
|
|
||||||
|
|
||||||
# disabling http verify for now as http
|
# disabling http verify for now as http
|
||||||
# access to port 3000 fails in gh action env
|
# access to port 3000 fails in gh action env
|
||||||
# - name: Verify
|
# - name: Verify
|
||||||
|
|||||||
Reference in New Issue
Block a user