Skip to content

Commit

Permalink
Enable github publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
roquie committed May 21, 2020
1 parent 09b0cba commit 96a5745
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:
- ./vendor
key: v1-dependencies-{{ checksum "composer.json" }}

# publish-github-release:
# docker:
# - image: cibuilds/github:0.10
# steps:
# - attach_workspace:
# at: /tmp
# - run:
# name: "Publish Release on GitHub"
# command: |
# ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete $(cat /tmp/version) /tmp/bin/st-conf.phar
publish-github-release:
docker:
- image: cibuilds/github:0.10
steps:
- attach_workspace:
at: /tmp
- run:
name: "Publish Release on GitHub"
command: |
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete $(cat /tmp/version) /tmp/bin/st-conf.phar
workflows:
version: 2
Expand Down

0 comments on commit 96a5745

Please sign in to comment.