diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8efec4e..50dacb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Build jar run: lein jar - name: Deploy to Clojars - run: lein deploy + run: lein deploy releases env: CLOJARS_USER: metosinci CLOJARS_DEPLOY_TOKEN: "${{ secrets.CLOJARS_DEPLOY_TOKEN }}" diff --git a/project.clj b/project.clj index a9ba419..edff2d9 100644 --- a/project.clj +++ b/project.clj @@ -5,9 +5,9 @@ :test-paths ["test/clj" "test/cljc"] :deploy-repositories [["releases" {:url "https://repo.clojars.org/" - :username "metosinci" - :password :env - :sign-releases false}]] + :sign-releases false + :username :env/CLOJARS_USER + :password :env/CLOJARS_DEPLOY_TOKEN}]] :codox {:output-path "doc" :source-uri "https://github.com/metosin/spec-tools/{version}/{filepath}#L{line}"