Forked from an inaccessible project.
-
Joe Van Boxtel authoredJoe Van Boxtel authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.gitlab-ci.yml 748 B
image: docker.doit.wisc.edu/registrar/angular-cli-builder:1.2.0
variables:
S3_BUCKET_NAME: dev-enroll-app-frontend
DEV_CFDIST_ID: E2LLRLV3LNB0E3
stages:
- build
- deploy
build:
stage: build
script:
- npm install
- ng build --prod --base-href /degree-planner --deploy-url /degree-planner/
deploy:
stage: deploy
script:
- npm install
- ng build --prod --base-href /degree-planner --deploy-url /degree-planner/
- aws s3 sync --acl public-read --sse --delete dist/course-search-enroll-fe s3://$S3_BUCKET_NAME
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id $DEV_CFDIST_ID --paths '/*'
only:
- master@adi-ia/course-search-enroll-fe
when: manual