CI-integration

codacy-sbt provides some helpers to seamlessly integrate your CI pipeline:

Publishing libraries to public Sonatype repository

You should retrieve first GPG keys from the S3 bucket using:

sbt retrieveGPGKeys

e.g.:

- codacy/sbt:
    name: publish
    cmd: sbt clean retrieveGPGKeys ^publishSigned sonatypeBundleRelease

Make sure to attach the CodacyAWS context to this step.

e.g.:

context: CodacyAWS