Skip to content

Commit

Permalink
feat(test_deploy.yaml): inherit secrets in deploy job to streamline C…
Browse files Browse the repository at this point in the history
…I/CD process

By inheriting secrets in the deploy job, the workflow can now automatically use the same secrets as the parent workflow without needing to redefine or duplicate them. This change simplifies the configuration and enhances security by minimizing the exposure of sensitive data.
  • Loading branch information
cybersiddhu committed Jun 27, 2024
1 parent befce5a commit f1b6d9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
deploy:
uses: ./.github/workflows/deploy-app.yaml
secrets: inherit
with:
cluster: secrets.DEV_STAGING_CLUSTER
cluster_state_storage: secrets.DEV_STAGING_KOPS_STATE_STORAGE
Expand Down

0 comments on commit f1b6d9d

Please sign in to comment.