Skip to content

Commit

Permalink
ci: make deployment production ready
Browse files Browse the repository at this point in the history
  • Loading branch information
atennert committed Aug 29, 2021
1 parent 3475844 commit f89ade4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- attach_workspace:
at: ~/repo

- run: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} 20.1 ~/repo/build/deb/deploy/
- run: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ~/repo/build/deb/deploy/

workflows:
version: 2
Expand All @@ -87,18 +87,18 @@ workflows:
- deploy_ubuntu:
context:
- lcarsde-context
# filters:
# tags:
# only: /.*/
# branches:
# ignore: /.*/
filters:
tags:
only: /.*/
branches:
ignore: /.*/
- publish_github_release:
context:
- lcarsde-context
requires:
- deploy_ubuntu
# filters:
# tags:
# only: /.*/
# branches:
# ignore: /.*/
filters:
tags:
only: /.*/
branches:
ignore: /.*/
1 change: 0 additions & 1 deletion deploy-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
export LC_ALL=en_US.UTF-8
TIME="$(date '+%a, %d %b %Y %T %z')"
YEAR="$(date '+%Y')"
CIRCLE_TAG=20.1

echo "preparing debian package build for $1-${CIRCLE_TAG}"

Expand Down

0 comments on commit f89ade4

Please sign in to comment.