mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
pipeline setup
Signed-off-by: Marcus Weinhold - umwerk systems GmbH <marcus.weinhold@umwerk-systems.com>
This commit is contained in:
parent
06d6689a20
commit
340bcda586
@@ -1,4 +1,4 @@
|
||||
image: umwerk/node-awscli:8.10
|
||||
image: node:latest
|
||||
|
||||
pipelines:
|
||||
default:
|
||||
@@ -8,7 +8,10 @@ pipelines:
|
||||
branches:
|
||||
master:
|
||||
- step:
|
||||
caches:
|
||||
- node
|
||||
script:
|
||||
- ng build --prod
|
||||
- tar cfz /tmp/$BITBUCKET_REPO_SLUG.tgz *
|
||||
- npm install
|
||||
- node_modules/.bin/ng build --prod
|
||||
- tar cfz /tmp/$BITBUCKET_REPO_SLUG.tgz dist
|
||||
- scp /tmp/$BITBUCKET_REPO_SLUG.tgz $DEPLOYMENT_USER@$TESTING_HOST:/tmp/
|
||||
|
||||
Reference in New Issue
Block a user