From e29239ebe5cdc65759f362c8d7018c9bea5fc91d Mon Sep 17 00:00:00 2001 From: Vishnu Narayanan Date: Wed, 5 Jun 2024 17:44:11 +0530 Subject: [PATCH] debug --- .github/workflows/nightly_installer.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nightly_installer.yml b/.github/workflows/nightly_installer.yml index 3db4da3c0..b9bfb4fdd 100644 --- a/.github/workflows/nightly_installer.yml +++ b/.github/workflows/nightly_installer.yml @@ -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: |