Skip to content

Commit

Permalink
test: deploy test w/ new function
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnynh committed Jul 7, 2024
1 parent a03ad1c commit 17368b0
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auth-kakao-callback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "auth-kakao-callback.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auth-signup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "auth-signup.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-guest-names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "check-guest-names.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: deploy to lambda - auth-kakao-callback
on:
push:
paths:
- "auth-kakao-callback.js"
branches: [main, deploy]

jobs:

deploy_source:
name: deploy lambda from source
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v3
- name: deploy
uses: appleboy/[email protected]
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
function_name: deploy-test
source: auth-kakao-callback.js, models, utils
2 changes: 1 addition & 1 deletion .github/workflows/get-host-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "get-host-name.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/guest-list-for-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "guest-list-for-host.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/host-result-for-guests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "host-result-for-guests.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "post-response.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/result-for-host-per-guest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "result-for-host-per-guest.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/result-for-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "result-for-host.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stats-for-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
paths:
- "stats-for-host.js"
branches: [main]
branches: [main, deploy]

jobs:

Expand Down

0 comments on commit 17368b0

Please sign in to comment.