Skip to content

Commit 2ef034c

Browse files
committed
Add publish-github-release to a workflow
1 parent 91142b1 commit 2ef034c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.circleci/config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,16 @@ jobs:
3333
name: Publish GitHub release
3434
command: |
3535
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} \
36-
-delete "Continous Build" ./artifacts/
36+
-delete "Continous Build" ./artifacts/
37+
workflows:
38+
version: 2
39+
build_and_test:
40+
jobs:
41+
- build
42+
- publish-github-release:
43+
requires:
44+
- build
45+
filters:
46+
branches:
47+
only:
48+
-master

0 commit comments

Comments
 (0)