mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Changing to clone single branch for deployment, not the whole repo
This commit is contained in:
6
.github/workflows/autodeploy.yml
vendored
6
.github/workflows/autodeploy.yml
vendored
@@ -18,13 +18,11 @@ jobs:
|
||||
run: |
|
||||
rm -Rf ./coriolis
|
||||
rm -Rf ./coriolis-data
|
||||
git clone https://github.com/alex-williams/coriolis.git
|
||||
git clone https://github.com/alex-williams/coriolis-data.git
|
||||
git clone https://github.com/alex-williams/coriolis.git --single-branch --branch alpha
|
||||
git clone https://github.com/alex-williams/coriolis-data.git --single-branch --branch alpha
|
||||
cd coriolis-data
|
||||
git checkout alpha
|
||||
npm install
|
||||
cd ../coriolis
|
||||
git checkout alpha
|
||||
npm install
|
||||
npm run build
|
||||
sudo -u www-data cp -r ./build/* /var/www/newdisk/coriolis.brighter-applications.co.uk/
|
||||
Reference in New Issue
Block a user