Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #624 from FortnoxAB/fix_actions_secrets
Browse files Browse the repository at this point in the history
Pass secrets to deploy workflow
  • Loading branch information
flowertwig authored Oct 18, 2023
2 parents c514199 + 2e36365 commit 2a46157
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy_manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
5 changes: 5 additions & 0 deletions .github/workflows/deploy_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
9 changes: 9 additions & 0 deletions .github/workflows/deploy_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2a46157

Please sign in to comment.