Skip to content

Commit ecca567

Browse files
committed
ODWA-31 BUILD: Add if for the PR / skip confirm msg for action
1 parent 1cc587d commit ecca567

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
sam-deploy:
4040
needs: gradle-test
4141
runs-on: ubuntu-latest
42-
# if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
42+
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
4343
steps:
4444
- name: Checkout code
4545
uses: actions/checkout@v3
@@ -58,19 +58,6 @@ jobs:
5858
restore-keys: |
5959
${{ runner.os }}-gradle-
6060
61-
# - name: Install AWS CLI
62-
# run: |
63-
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
64-
# unzip awscliv2.zip
65-
# sudo ./aws/install --update
66-
67-
# - name: Install SAM CLI
68-
# run: |
69-
# wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip
70-
# unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
71-
# sudo ./sam-installation/install --update
72-
# sam --version
73-
7461
- name: Configure AWS credentials
7562
uses: aws-actions/configure-aws-credentials@v2
7663
with:

samconfig.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ stack_name = "MinoriBackDev"
44
resolve_s3 = true
55
s3_prefix = "MinoriBackDev"
66
region = "ap-northeast-2"
7-
confirm_changeset = true
7+
confirm_changeset = false
88
capabilities = "CAPABILITY_IAM"
99
disable_rollback = true
1010
image_repositories = []

0 commit comments

Comments
 (0)