Commit 0fd891da by Jonathan Thomas

Updating CI publishing to demo servers

parent acd7e41c
......@@ -14,9 +14,8 @@ deploy-to-aws:
script:
- npm ci
- npm run build
- mkdir -p /home/ubuntu/api/apps/simple-editor/public/
- cp -R dist/. /home/ubuntu/api/apps/simple-editor/
- cp -R public/. /home/ubuntu/api/apps/simple-editor/public/
- sudo -H bash /home/ubuntu/api-deploy/deploy-apps.sh "$CI_PROJECT_DIR/dist/" "/home/ubuntu/api/apps/simple-editor/"
- sudo -H bash /home/ubuntu/api-deploy/deploy-apps.sh "$CI_PROJECT_DIR/public/" "/home/ubuntu/api/apps/simple-editor/public/"
tags:
- api-runner
......@@ -26,8 +25,7 @@ deploy-to-azure:
script:
- npm ci
- npm run build
- mkdir -p /home/ubuntu/api/apps/simple-editor/public/
- cp -R dist/. /home/ubuntu/api/apps/simple-editor/
- cp -R public/. /home/ubuntu/api/apps/simple-editor/public/
- sudo -H bash /home/ubuntu/api-deploy/deploy-apps.sh "$CI_PROJECT_DIR/dist/" "/home/ubuntu/api/apps/simple-editor/"
- sudo -H bash /home/ubuntu/api-deploy/deploy-apps.sh "$CI_PROJECT_DIR/public/" "/home/ubuntu/api/apps/simple-editor/public/"
tags:
- api-azure-runner
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment