-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (29 loc) · 1002 Bytes
/
deploy.yaml
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
name: Deploy
on:
push:
branches: [ main ]
jobs:
EC2-Deploy:
runs-on: ubuntu-latest
environment:
name: ${{ github.ref_name }}
url: ${{ steps.deploy.outputs.vm_url }}
steps:
- id: deploy
name: Deploy
uses: bitovi/[email protected]
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_JIRA_INTEGRATIONS}}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_JIRA_INTEGRATIONS}}
aws_default_region: us-east-1
# Provide a secret called `DOT_ENV` to append environment variables to the .env file
env_ghs: ${{ secrets.DOT_ENV }}
aws_r53_enable: true
aws_r53_domain_name: bitovi-jira.com
aws_r53_sub_domain_name: auto-scheduler
aws_elb_app_port: 3000
aws_ec2_instance_type: t3.small
docker_cloudwatch_enable: true
docker_cloudwatch_retention_days: 7
tf_stack_destroy:
tf_state_bucket_destroy: true