mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Merge branch 'live' into beta
This commit is contained in:
11
.github/workflows/autodeploy.yml
vendored
11
.github/workflows/autodeploy.yml
vendored
@@ -1,13 +1,14 @@
|
|||||||
# This is a basic deployment workflow triggered by pushes to the alpha branch.
|
# This is a basic deployment workflow triggered by pushes to the alpha branch.
|
||||||
|
|
||||||
name: Auto-Deploy 'beta' Branch to beta.coliolis.io
|
|
||||||
|
name: Auto-Deploy 'live' Branch to coliolis.io
|
||||||
|
|
||||||
# Controls when the action will run. Workflow runs when the alpha branch receives a push event
|
# Controls when the action will run. Workflow runs when the alpha branch receives a push event
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- beta
|
- live
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
@@ -18,8 +19,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -Rf ./coriolis
|
rm -Rf ./coriolis
|
||||||
rm -Rf ./coriolis-data
|
rm -Rf ./coriolis-data
|
||||||
git clone https://github.com/Brighter-Applications/coriolis.git --single-branch --branch beta
|
git clone https://github.com/Brighter-Applications/coriolis.git --single-branch --branch live
|
||||||
git clone https://github.com/Brighter-Applications/coriolis-data.git --single-branch --branch beta
|
git clone https://github.com/Brighter-Applications/coriolis-data.git --single-branch --branch live
|
||||||
cd coriolis-data
|
cd coriolis-data
|
||||||
export NVM_DIR=~/.nvm
|
export NVM_DIR=~/.nvm
|
||||||
source ~/.nvm/nvm.sh
|
source ~/.nvm/nvm.sh
|
||||||
@@ -27,4 +28,4 @@ jobs:
|
|||||||
cd ../coriolis
|
cd ../coriolis
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
sudo -u www-data cp -r ./build/* /var/www/beta.coriolis.io/
|
sudo -u www-data cp -r ./build/* /var/www/coriolis.io/
|
||||||
|
|||||||
Reference in New Issue
Block a user