Skip to content

Commit

Permalink
putting clojars secrets in the deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
mjayprateek committed Jan 27, 2021
1 parent 058ef62 commit dcb2965
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
runs-on: ubuntu-latest
needs: [lint_check, run_tests_with_kafka_1, run_tests_with_kafka_2, calculate_coverage]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
clojars_username: ${{ secrets.CLOJARS_USERNAME }}
clojars_password: ${{ secrets.CLOJARS_PASSWORD }}
steps:
- uses: actions/setup-java@v1
with:
Expand All @@ -90,6 +93,3 @@ jobs:

- name: Deploy to Clojars
run: lein deploy clojars
env:
clojars_username: ${{ secrets.CLOJARS_USERNAME }}
clojars_password: ${{ secrets.CLOJARS_PASSWORD }}

0 comments on commit dcb2965

Please sign in to comment.