This commit is contained in:
Vishnu Narayanan
2024-06-05 17:44:11 +05:30
committed by GitHub
parent 6810595c31
commit e29239ebe5
+10 -7
View File
@@ -23,19 +23,22 @@ jobs:
# if: always()
# ## temporary fix for gh actions since node 20 installed via script is not taking effect till 30june2024
# ## https://github.blog/changelog/2024-05-17-updated-dates-for-actions-runner-using-node20-instead-of-node16-by-default
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20'
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: create input file
run: |
node --version
which node
- name: get installer
run: |
wget https://get.chatwoot.app/linux/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
sed -i '/function setup_chatwoot() {/a export PATH="/usr/bin/:$PATH"' install.sh
sed -i '/git checkout "\$BRANCH"/a export PATH="/usr/bin/:$PATH"' install.sh
#sed -i '/function setup_chatwoot() {/a export PATH="/usr/bin/:$PATH"' install.sh
#sed -i '/git checkout "\$BRANCH"/a export PATH="/usr/bin/:$PATH"' install.sh
- name: create input file
run: |