Commit c922f6f6 by Jonathan Thomas

Merge branch 'new-ci-pipeline-publish' into 'develop'

Updating CI publishing to demo servers

See merge request !6
parents acd7e41c 0fd891da
Pipeline #9020 passed with stage
in 56 seconds
......@@ -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