Skip to content

Commit

Permalink
try out semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtunSubasi committed May 3, 2020
1 parent 26264c6 commit 5ee98f0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:
paths:
- dist
- cloudformation
release:
executor: node/default
steps:
- checkout
- node/with-cache:
steps:
- run: npm install
- run: npx semantic-release
deploy-cloudformation-stack:
executor: aws-cli/default
parameters:
Expand Down Expand Up @@ -73,14 +81,21 @@ workflows:
branches:
only:
- develop
- release:
requires:
- build
filters:
branches:
only:
- master
- deploy-cloudformation-stack:
name: deploy-cloudformation-stack-prod
stack_name: prod
domain: keinecookies.de
aliases: keinecookies.de,www.keinecookies.de
ssl_certificate_arn: arn:aws:acm:us-east-1:452562348886:certificate/b49e5386-f97d-4b92-babe-f4b2b6df9cb4
requires:
- build
- release
filters:
branches:
only:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"semantic-release": "^17.0.7",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
Expand Down

0 comments on commit 5ee98f0

Please sign in to comment.