-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
65 lines (52 loc) · 1.62 KB
/
action.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: "AWS Elastic beanstalk django deployment"
description: "Github action for deploying the Django project to Elastic beanstalk after running some basic continuous integrations."
author: "[email protected]"
inputs:
flake8:
description: "Do we need to run flake8 linting?"
required: true
default: true
flake8_config_file:
description: "The flake8 config path relative to the github repository (this requires input flake8 to be true)"
required: false
default: ".flake8"
python_version:
description: "Version range or exact version of a Python version to use, using SemVer's version range syntax."
default: "3.7.17"
required: true
aws_access_key_id:
description: "The AWS access key"
required: true
aws_secret_access_key:
description: "The AWS secret access key"
required: true
django_path:
description: "This is the path at which the your django project is located in you github repo"
required: false
default: "."
unit_testing:
description: "Whether to run unit tests"
required: false
default: false
min_coverage:
description: "Minimum code coverage required"
required: false
default: "0"
deploy:
description: "Deploy to AWS Elastic beanstalk"
required: true
default: true
postgresql_required:
description: "Run unit tests with postgresql"
required: false
default: false
security_check:
description: "Security oriented static analyser for python code using bandit"
required: false
default: false
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "upload-cloud"
color: "red"