Skip to content

Commit

Permalink
modify release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
scott.hsieh[謝書正] committed Jun 7, 2022
1 parent fe0e9fa commit d432958
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ releaseWorkflow.addOverride('jobs.release.env', {
AWS_ACCESS_KEY_ID: '${{ secrets.AWS_ACCESS_KEY_ID }}',
AWS_SECRET_ACCESS_KEY: '${{ secrets.AWS_SECRET_ACCESS_KEY }}',
});
// releaseWorkflow.addOverride('jobs.release.steps.3', {
// name: 'release',
// run: 'export CDK_DEFAULT_ACCOUNT=$(aws sts get-caller-identity --query \'Account\' | tr -d \'"\')\nexport CDK_DEFAULT_REGION=${AWS_REGION}\nnpx projen release',
// });
releaseWorkflow.addOverride('jobs.release.steps.3', {
name: 'release',
run: 'export CDK_DEFAULT_ACCOUNT=$(aws sts get-caller-identity --query \'Account\' | tr -d \'"\')\nexport CDK_DEFAULT_REGION=${AWS_REGION}\nnpx projen release',
});
project.synth();

0 comments on commit d432958

Please sign in to comment.