Skip to content

Commit

Permalink
testing passing secrets to called workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
helenb committed Dec 5, 2023
1 parent 513d714 commit 0b866b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
if: contains(github.ref, 'chore/github-actions')
#needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml
with:
test: 'test'
secrets:
DEPLOYMENT_KEY_DEV: ${{ secrets.DEPLOYMENT_KEY_DEV }}
HEROKU_APP_NAME_DEV: ${{ secrets.HEROKU_APP_NAME_DEV }}
2 changes: 2 additions & 0 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: dev_deployment

on:
workflow_call:
inputs:
test: string
secrets:
token:
required: true
Expand Down

0 comments on commit 0b866b1

Please sign in to comment.