diff --git a/actions/deploy/README.md b/actions/deploy/README.md index 41a875f..009e19d 100644 --- a/actions/deploy/README.md +++ b/actions/deploy/README.md @@ -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 }} @@ -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/deploy@0.1.0 with: entry: main.w target: 'tf-aws' diff --git a/actions/pull-request-diff/README.md b/actions/pull-request-diff/README.md index 02827b4..efb6eb3 100644 --- a/actions/pull-request-diff/README.md +++ b/actions/pull-request-diff/README.md @@ -32,7 +32,7 @@ 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 @@ -40,6 +40,7 @@ on: 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 }} @@ -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/pull-request-diff@0.1.0 with: entry: main.w target: 'tf-aws'