forked from MGenteluci/cloudformation-deploy-action
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ross Ragsdale
authored
Nov 3, 2019
1 parent
c87f7eb
commit 278ee4a
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ This action deploys AWS SAM Stacks through yaml files. | |
## Usage | ||
|
||
```yml | ||
name: "Deploy SAM Stack" | ||
name: "Deploy SAM Stack to Production" | ||
on: | ||
push: | ||
branches: | ||
|
@@ -16,14 +16,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10.x' | ||
- run: for d in */ ; do cd $d && npm install --no-package-lock --loglevel=error && cd .. ; done | ||
- uses: r0zar/[email protected] | ||
env: | ||
TEMPLATE: 'template.yaml' | ||
AWS_STACK_NAME: ${GITHUB_REPOSITORY} | ||
AWS_STACK_NAME: prod-${{ github.actor }}-resourceful | ||
AWS_REGION: 'us-east-1' | ||
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | ||
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | ||
AWS_DEPLOY_BUCKET: ${{secrets.AWS_DEPLOY_BUCKET}} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_DEPLOY_BUCKET: ${{ secrets.AWS_DEPLOY_BUCKET }} | ||
``` | ||
### Environment Variables | ||
|