Skip to content

Commit

Permalink
Added deployment workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshi committed Jul 3, 2018
1 parent 3b8a8e2 commit 266c5c5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
Expand Up @@ -91,3 +91,32 @@ jobs:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
- persist_to_workspace:
root: .
paths:
- ThingIF.podspec
- ThingIFSDK/Documentation
- circleci_scripts
deploy:
working_directory: ~/deploy
macos:
xcode: '9.4.0'
steps:
- attach_workspace:
at: .
- run: bash circleci_scripts/release_doc.sh
- run: pod trunk push --verbose

workflows:
version: 2
deploy:
jobs:
- build
- deploy:
requires:
- build
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+){0,2}([-+].+)?/

0 comments on commit 266c5c5

Please sign in to comment.