Skip to content

Commit e940534

Browse files
committed
fix bucket deployment
1 parent 3392c60 commit e940534

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

api/behat.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ default:
1414
bootstrap: "features/bootstrap/bootstrap.php"
1515
class: "App\\Kernel"
1616
Behat\MinkExtension:
17-
base_url: "http://localhost/"
17+
base_url: "https://localhost/"
1818
sessions:
1919
default:
2020
symfony2: ~

api/config/packages/security.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ security:
1616

1717
# form_login: ~
1818
# https://symfony.com/doc/current/security/form_login_setup.html
19+
20+
access_control:
21+
- { path: ^/, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }

ci/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ fi
5050

5151
cd admin && yarn && REACT_APP_API_ENTRYPOINT=https://${API_ENTRYPOINT} yarn build --environment=prod;
5252
cd ../client && yarn && REACT_APP_ADMIN_HOST_HTTPS=https://${ADMIN_BUCKET} REACT_APP_ADMIN_HOST_HTTP=http://${ADMIN_BUCKET} REACT_APP_API_CACHED_HOST_HTTPS=https://${API_ENTRYPOINT} REACT_APP_API_CACHED_HOST_HTTP=http://${API_ENTRYPOINT} yarn build --environment=prod;
53+
cd ..
5354

5455
if [[ ${BRANCH} == "master" ]]
5556
then

0 commit comments

Comments
 (0)