@@ -16,7 +16,9 @@ jobs:
|
|||||||
- name: Deploy to box
|
- name: Deploy to box
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/apps/hub/dist ~/apps/hub/scripts
|
mkdir -p ~/apps/hub/dist ~/apps/hub/scripts
|
||||||
cp bin/hub-api ~/apps/hub/hub-api
|
cp bin/hub-api ~/apps/hub/hub-api.new
|
||||||
|
mv -f ~/apps/hub/hub-api.new ~/apps/hub/hub-api
|
||||||
|
chmod +x ~/apps/hub/hub-api
|
||||||
cp config.yaml ~/apps/hub/config.yaml
|
cp config.yaml ~/apps/hub/config.yaml
|
||||||
cp -r scripts/. ~/apps/hub/scripts/
|
cp -r scripts/. ~/apps/hub/scripts/
|
||||||
cp -r web/dist/. ~/apps/hub/dist/
|
cp -r web/dist/. ~/apps/hub/dist/
|
||||||
|
|||||||
Reference in New Issue
Block a user