From 6c6b0f97a7342566c5a07f3e3aa7b21569e1ed20 Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Fri, 21 Jun 2024 09:36:56 +0100 Subject: [PATCH] Removing unneccessary output lines from autodeploy (#19) --- .github/workflows/autodeploy.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/autodeploy.yml b/.github/workflows/autodeploy.yml index 4e7531fa..4fa7008a 100644 --- a/.github/workflows/autodeploy.yml +++ b/.github/workflows/autodeploy.yml @@ -21,18 +21,14 @@ jobs: run: | rm -Rf ./coriolis rm -Rf ./coriolis-data - echo "Cloning coriolis and coriolis-data repositories for branch ${BRANCH_NAME}" >> "$GITHUB_OUTPUT" git clone https://github.com/Brighter-Applications/coriolis.git --single-branch --branch ${BRANCH_NAME} git clone https://github.com/Brighter-Applications/coriolis-data.git --single-branch --branch ${BRANCH_NAME} cd coriolis-data export NVM_DIR=~/.nvm source ~/.nvm/nvm.sh - echo "Building coriolis-data dist for branch ${BRANCH_NAME}" >> "$GITHUB_OUTPUT" npm install npm start cd ../coriolis - echo "Building coriolis for branch ${BRANCH_NAME}" >> "$GITHUB_OUTPUT" npm install npm run build - echo "Copying build to web server for branch ${BRANCH_NAME}" >> "$GITHUB_OUTPUT" if [ ${BRANCH_NAME} == "beta" ]; then sudo -u www-data cp -r ./build/* /var/www/beta.coriolis.io/; else sudo -u www-data cp -r ./build/* /var/www/coriolis.io/; fi