-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
49 lines (38 loc) · 2.45 KB
/
.travis.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
language: node_js
node_js:
- "lts/*"
install:
- npm install
script:
- npm run build
before_deploy:
# Remove unused files and dirs
- rm -rf ./client
- rm -rf ./server
- rm package.json package-lock.json
# Note: Be sure region has the bucket and application in that region.
# Deploy to EB has been disabled to save on tutorial hosting costs
# deploy:
# - provider: elasticbeanstalk
# edge: true
# skip_cleanup: true
# access_key_id:
# secure: "oOwAVDPhOrdWZC/USp3+2kfY8r3QnvP6HH/bfuJccmxr2ukERwSTd9w9gEhqx5Fz2/YyyCCwxXhM2za7CJHObWugcOG5oSDXZmmUHsiOe8SuDUcEn+zEA26TSvbAPklVlXmgq+y+mc5c7O0Y0MxBnZovvTZpk5RgjYxFW/U93fvPvtdvIGFh4P7PVePMAinr8FbsZqaRhJqM9xNfqDJVAfItHMXgCxF+Dr/vw14Mf0LtTV1Djx+0gRAHSw0hK9OV8o7Waat40TWPywLGoj+pbqfeqwhsoZPkLGr158e80l+EMRn+EOz0NKXnQhpP77s5HF2VwzKwYf19VBa7AlK8lC6bIX4s2ox+s0ductOb50bBeCAJbIaBswi6iCU/PMXsRboYopSK5hdwtihqiw2nXNFAlTTllrIZyGZIM3QrBx8UfnyOnYrPF0GHVC3s2uctNUMXonok7HlYQp1Ct6hdX4r1Yd/yT97WA68r3w7A4B3DnjFcm6edxdOgWhMVDl2xNKZ7yWuHdylKK9vKzJz+WEutfg6y+c6L7+oj9Fj17XpEM5tW4xWEcLlRWpY92U2deEDkqpbwwuwcnk9SB58T0Z5GR6LBlh2wkR2d1emWHUBn/YxXa1jdfb+7GANcMQq2fv+y/cxAqTpC0asm1VGlivRGwPzHRI9emWG7fRwnwsc="
# secret_access_key:
# secure: "xlDXU8xC8RMJSroxplF2lEEdKeoizHN8wHbGOZWXa+O1NHW8fxRFo8f5bnVWT8J3Ztk9CY+GSr8MkahKnSWrTjIEw8atyGBNCdPvGfLo3+jvuutC9lN90n6iDHZQW42659Rgbu+vjnz2ySuNfOKAxd69gi+iGJHvw6CD2v0s0gssgk1qknnyoIkRe+c2w9W+pRU7NVQm9xxugDTzTRh4oculg5BU2BWZDbzvX1UUF30Fo5Of11gbSrJf6XnVeD1Qduq62hW2Eum85P199m21cj8ICYQ3YsXxsPFTisJa88Cyc94LMWqE0cBrEDY7Q7vIsvUl1NkqgGiXmFrSkW7UAkauw2nvwHdL1PJyO2VQ3an5gWsnv8rVMIKltBJPtXKHG3xDrw1Vl2j95DzFGoObIW18Sa6gYqqUPPygRdKDxAVPI2RjIURjeG6196LkdbL4r/rcNDNY65R9CvskW9qla3t/6aPGkxIS8smxT+5hEjZ8xhBpR8+W6SJuJSe0TERE7pp5AzjVZTdRGs/CqZ4dpRSEhheb7ArFxjT5iXIbmghXIKPJw1hWH/sD2c0yxuig9pdntgqOPXJ3pMB8llIwQIbeSIedxkttPviym9zogwkTyNlvTVty+8VP4IaXP9kvqFiRCYOVc9uKjcQraFlzkKXqwwWB8XqNNv3uJzkvdCE="
# region: "us-west-2"
# app: "debugging-multi-docker-aws-eb"
# env: "sandbox-staging-v1"
# bucket_name: "donnelson-deploy-bucket"
# Run Travis CLI in this repo
# gem install travis
# Delete Travis Cache
# travis cache --com
# travis cache --com --delete
# Encrypt Secure Variables
# gem install travis
# travis login --github-token replace_with_github_personal_token
# cd to/this/repo
# travis encrypt xxx_replace_with_access_key_id
# travis encrypt xxx_replace_with_with_secret_key
# Note: Debug deployment on EC2: in docker container, or EB dash logs, in file: /var/log/eb-activity.log