https://github.com/mikebild/aws-cdk-js-github-action
GitHub Action using AWS CDK for JavaScript
https://github.com/mikebild/aws-cdk-js-github-action
aws aws-cdk github github-actions javascript marketplace typescript
Last synced: 11 months ago
JSON representation
GitHub Action using AWS CDK for JavaScript
- Host: GitHub
- URL: https://github.com/mikebild/aws-cdk-js-github-action
- Owner: MikeBild
- License: mit
- Created: 2019-08-21T15:25:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T19:53:47.000Z (over 6 years ago)
- Last Synced: 2025-02-28T18:42:50.056Z (11 months ago)
- Topics: aws, aws-cdk, github, github-actions, javascript, marketplace, typescript
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/aws-cdk-js-github-action
- Size: 2.93 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action using AWS CDK for JavaScript
## How to use?
Create a GitHub workflow file `.github/workflows/main.yml`.
```yaml
name: CICD
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: GitHub Checkout
uses: actions/checkout@v1
- name: Yarn Install
uses: nuxt/actions-yarn@master
with:
args: install
- name: AWS CDK Deploy
uses: MikeBild/aws-cdk-js-github-action@1.0.0
with:
args: deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: eu-central-1
```
## Secrets
- `AWS_ACCESS_KEY_ID` – **Required**
- `AWS_SECRET_ACCESS_KEY` – **Required**
## Environments
See [the CDK developer guide](https://docs.aws.amazon.com/cdk/latest/guide/environments.html) for more information.
# License
The Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).