diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7eadf0..8d96d4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,6 +58,7 @@ jobs: continue-on-error: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_USER: braddialpad - name: Deploy production - Swift if: ${{ github.ref == 'refs/heads/production' }} diff --git a/build.gradle b/build.gradle index cef396c..8f80726 100644 --- a/build.gradle +++ b/build.gradle @@ -77,6 +77,10 @@ afterEvaluate { maven { name = "Dialtone Tokens Maven Packages" url = uri("https://maven.pkg.github.com/dialpad/dialtone-tokens") + credentials { + username = project.findProperty("release.user") ?: System.getenv("GITHUB_USER") + password = project.findProperty("release.key") ?: System.getenv("GITHUB_TOKEN") + } } } }