-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 963 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Release
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
container:
image: jsii/superchain:1-bookworm-slim-node22
steps:
- name: CDK Construct Build & Release
uses: p6m7g8-actions/cdk-construct-release@main
with:
aws_region: ${{ secrets.CDK_DEPLOY_REGION }}
aws_role: ${{ secrets.AWS_ROLE }}
aws_session_name: ${{ secrets.AWS_SESSION_NAME }}
cdk_deploy_account: ${{ secrets.CDK_DEPLOY_ACCOUNT }}
cdk_deploy_region: ${{ secrets.CDK_DEPLOY_REGION }}
npm_token: ${{ secrets.NPM_TOKEN }}
twine_username: ${{ secrets.TWINE_USERNAME }}
twine_password: ${{ secrets.TWINE_PASSWORD }}
nuget_api_key: ${{ secrets.NUGET_API_KEY }}
go_github_token: ${{ secrets.GO_GITHUB_TOKEN }}
p6_a_gh_token: ${{ secrets.P6_A_GH_TOKEN }}