deployment fix

This commit is contained in:
Alex Williams
2024-06-21 20:39:14 +01:00
parent 6b9969651c
commit f7cab2e96a
2 changed files with 2 additions and 0 deletions

View File

@@ -35,4 +35,5 @@ jobs:
- name: Deploy the code
shell: bash
run: |
cd ../coriolis
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

View File

@@ -40,4 +40,5 @@ jobs:
- name: Deploy the code
shell: bash
run: |
cd ../coriolis
if [ ${{ github.events.inputs.branch }} == "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