From 2e3636549908616820d1a5f73317976a4fd80f16 Mon Sep 17 00:00:00 2001 From: Rickard Blomkvist Date: Wed, 18 Oct 2023 14:32:15 +0200 Subject: [PATCH] Pass secrets to deploy workflow. --- .github/workflows/deploy_manually.yml | 5 +++++ .github/workflows/deploy_on_release.yml | 5 +++++ .github/workflows/deploy_tag.yml | 9 +++++++++ 3 files changed, 19 insertions(+) diff --git a/.github/workflows/deploy_manually.yml b/.github/workflows/deploy_manually.yml index 401b177c..f20f30a0 100644 --- a/.github/workflows/deploy_manually.yml +++ b/.github/workflows/deploy_manually.yml @@ -13,3 +13,8 @@ jobs: uses: ./.github/workflows/deploy_tag.yml with: tag: ${{ inputs.tag }} + secrets: + OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} + OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} + PASSPHRASE: ${{ secrets.PASSPHRASE }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/.github/workflows/deploy_on_release.yml b/.github/workflows/deploy_on_release.yml index 43066854..81c06d70 100644 --- a/.github/workflows/deploy_on_release.yml +++ b/.github/workflows/deploy_on_release.yml @@ -18,3 +18,8 @@ jobs: uses: ./.github/workflows/deploy_tag.yml with: tag: ${{ needs.get_tag.outputs.tag }} + secrets: + OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} + OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} + PASSPHRASE: ${{ secrets.PASSPHRASE }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/.github/workflows/deploy_tag.yml b/.github/workflows/deploy_tag.yml index 49e50528..1eb362a8 100644 --- a/.github/workflows/deploy_tag.yml +++ b/.github/workflows/deploy_tag.yml @@ -7,6 +7,15 @@ on: description: 'Tag to deploy' required: true type: string + secrets: + OSSRH_USERNAME: + required: true + OSSRH_TOKEN: + required: true + PASSPHRASE: + required: true + GPG_PRIVATE_KEY: + required: true jobs: publish: