Skip to content
Snippets Groups Projects
Commit de3ef9a6 authored by Jan Bernoth's avatar Jan Bernoth
Browse files

#107 Move to pages

parent ed5dee29
No related branches found
No related tags found
1 merge request!161#107 Move to pages
......@@ -55,11 +55,11 @@ build_angular_app:
- ng build --configuration staging --base-href /dashboard-dev/ --output-path=dist/stage
- ng build --configuration production --base-href /dashboard/ --output-path=dist/prod
- npm run compodoc:build
- mv documentation dist/doc
- cp -R documentation dist/doc
artifacts:
expire_in: 1 day
paths:
- dist/
- public
cache:
key:
files:
......@@ -103,6 +103,11 @@ build_angular_app:
- for server in $SSH_DEPLOY_HOSTS; do
tar cfz - dist/$ANGULAR_STAGE dist/doc | ssh -i /root/.ssh/id_rsa gitup-deploy@$server;
done
- cp -R dist/doc public/doc
- cp -R dist/prod public/dashboard
artifacts:
paths:
- public
# uncomment to only deploy manually and not on every push
#when: manual
#allow_failure: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment