Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
skorfmann committed Sep 14, 2023
1 parent c0a37fd commit 9e73e9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions actions/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ on: [pull_request]
permissions:
id-token: write # required for requesting the JWT
contents: read # required for checkout
pull-requests: write # required for posting comments to pull requests
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand All @@ -55,8 +54,8 @@ jobs:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-session-name: gh-actions-winglang
aws-region: ${{ env.AWS_REGION }}
- name: Terraform Plan
uses: winglang/wing-github-action/actions/pull-request-diff@main
- name: Terraform Deploy
uses: winglang/wing-github-action/actions/[email protected]
with:
entry: main.w
target: 'tf-aws'
Expand Down
7 changes: 4 additions & 3 deletions actions/pull-request-diff/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ steps:
A minimal working config for [AWS with OIDC](https://github.com/aws-actions/configure-aws-credentials) could look like this and deploy a `main.w` Wing application.

```yaml
on:
on:
push:
branches:
- main
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
pull-requests: write # required for posting comments to pull requests
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
Expand All @@ -58,8 +59,8 @@ jobs:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
role-session-name: gh-actions-winglang
aws-region: ${{ env.AWS_REGION}}
- name: Deploy Winglang App
uses: winglang/wing-github-action/actions/deploy@main
- name: Terraform Plan
uses: winglang/wing-github-action/actions/[email protected]
with:
entry: main.w
target: 'tf-aws'
Expand Down

0 comments on commit 9e73e9f

Please sign in to comment.