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 cfe4d16 commit 4f22165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,4 @@ jobs:
if: contains(github.ref, 'chore/github-actions')
#needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml
with:
test-input: 'test'
secrets:
DEPLOYMENT_KEY_DEV: ${{ secrets.DEPLOYMENT_KEY_DEV }}
HEROKU_APP_NAME_DEV: ${{ secrets.HEROKU_APP_NAME_DEV }}
secrets: inherit
12 changes: 1 addition & 11 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
name: dev_deployment

on:
workflow_call:
inputs:
test-input:
required: true
type: string
secrets:
DEPLOYMENT_KEY_DEV:
required: true
HEROKU_APP_NAME_DEV:
required: true
on: workflow_call

jobs:
deploy_dev:
Expand Down

0 comments on commit 4f22165

Please sign in to comment.