mirror of https://github.com/status-im/consul.git
remove packer.json since CircleCI builds the site
This commit is contained in:
parent
c7e55009f1
commit
041e0b83ec
|
@ -1,36 +0,0 @@
|
||||||
{
|
|
||||||
"variables": {
|
|
||||||
"aws_access_key_id": "{{ env `AWS_ACCESS_KEY_ID` }}",
|
|
||||||
"aws_secret_access_key": "{{ env `AWS_SECRET_ACCESS_KEY` }}",
|
|
||||||
"aws_region": "{{ env `AWS_REGION` }}",
|
|
||||||
"website_environment": "production",
|
|
||||||
"fastly_api_key": "{{ env `FASTLY_API_KEY` }}"
|
|
||||||
},
|
|
||||||
"builders": [
|
|
||||||
{
|
|
||||||
"type": "docker",
|
|
||||||
"image": "hashicorp/middleman-hashicorp:0.3.35",
|
|
||||||
"discard": "true",
|
|
||||||
"volumes": {
|
|
||||||
"{{ pwd }}": "/website"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"provisioners": [
|
|
||||||
{
|
|
||||||
"type": "shell",
|
|
||||||
"environment_vars": [
|
|
||||||
"AWS_ACCESS_KEY_ID={{ user `aws_access_key_id` }}",
|
|
||||||
"AWS_SECRET_ACCESS_KEY={{ user `aws_secret_access_key` }}",
|
|
||||||
"AWS_REGION={{ user `aws_region` }}",
|
|
||||||
"ENV={{ user `website_environment` }}",
|
|
||||||
"FASTLY_API_KEY={{ user `fastly_api_key` }}"
|
|
||||||
],
|
|
||||||
"inline": [
|
|
||||||
"bundle check || bundle install",
|
|
||||||
"bundle exec middleman build",
|
|
||||||
"/bin/bash ./scripts/deploy.sh"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue