Skip to content

Commit

Permalink
Deploy on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Feb 18, 2022
1 parent 6f2eb94 commit 9d3cff2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
- run:
name: Build
command: clojure -T:build build
- run:
name: Deploy
command: |
if [ -n "${CIRCLE_TAG}" ]; then
clojure -T:build deploy
else
/bin/echo "Not deploying, not a tagged commit
fi
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
Expand Down

0 comments on commit 9d3cff2

Please sign in to comment.