Skip to content

Commit 33c25f4

Browse files
committed
WF tweaks
1 parent c36b2a8 commit 33c25f4

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11

2-
name: Java CI with AWS SAM
2+
name: Build AWS SAM Container
33

44
on:
55
push:
66
branches: [ "main" ]
77
pull_request:
88
branches: [ "main" ]
99

10-
permissions:
11-
id-token: write # This is required for requesting the JWT
12-
contents: read # This is required for actions/checkout
1310

1411
jobs:
1512
build:
16-
13+
environment: build
1714
runs-on: ubuntu-latest
1815

1916
steps:
@@ -30,13 +27,5 @@ jobs:
3027
- name: Build inside Docker containers
3128
run: sam build --use-container
3229

33-
#- name: Setup AWS Creds
34-
# uses: aws-actions/configure-aws-credentials@v4
35-
# with:
36-
# aws-region: us-east-1
37-
# role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
38-
39-
#- name: Prevent prompts and failure when the stack is unchanged
40-
# run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset
4130

4231

0 commit comments

Comments
 (0)