Skip to content

Commit

Permalink
inherit secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-CT committed Aug 16, 2023
1 parent 5b47c60 commit 473149f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ on:

jobs:
build-push-deploy-main:
uses: ./.github/workflows/main.yml
uses: ./.github/workflows/main.yml
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/manual-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@ on:

jobs:
preprod:
name: preprod
if: github.event.inputs.environment == 'preprod'
uses: ./.github/workflows/preprod.yml
secrets: inherit

preprod-alt:
name: preprod-alt
if: github.event.inputs.environment == 'preprod-alt'
uses: ./.github/workflows/preprod-alt.yml
secrets: inherit

main:
if: github.event.inputs.environment == 'prod'
uses: ./.github/workflows/main.yml
secrets: inherit

0 comments on commit 473149f

Please sign in to comment.