-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 1017 Bytes
/
deploy.yaml
File metadata and controls
39 lines (32 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# name: deploy-to-EB
# on:
# push:
# branches:
# - main
# workflow_dispatch:
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Set up Node.js
# uses: actions/setup-node@v2
# with:
# node-version: "20.9.0"
# - name: Install dependencies
# run: npm install --production
# - name: Bundle application
# run: |
# zip -r app.zip . -x "node_modules/*"
# - name: Deploy to EB
# uses: einaregilsson/beanstalk-deploy@v20
# with:
# aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# application_name: devhub
# environment_name: Devhub-env
# version_label: ${{ github.run_number }}-${{ github.sha }}
# use_existing_version_if_available: true
# region: ap-northeast-2
# deployment_package: ./app.zip