Skip to content

Commit b0b810c

Browse files
fix: adjust working directory setup for magento-build job
1 parent d0e639e commit b0b810c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
type: string
1818
magento-version:
1919
type: string
20-
working_directory: ~/Sites
2120
steps:
2221
- checkout
2322
- php/install_php:
@@ -27,8 +26,13 @@ jobs:
2726
name: Configure composer authentication
2827
command: |
2928
composer config --global http-basic.repo.magento.com ${MAGENTO_AUTH_USERNAME} ${MAGENTO_AUTH_PASSWORD}
29+
- run:
30+
name: Setup folder structure
31+
command: |
32+
mkdir ~/Sites
3033
- run:
3134
name: Configure Docker compose override file
35+
working_directory: ~/Sites
3236
command: |
3337
cat \<<EOF > docker-compose.override.yml
3438
version: "3.7"
@@ -39,6 +43,7 @@ jobs:
3943
EOF
4044
- run:
4145
name: Setup magento enterprise
46+
working_directory: ~/Sites
4247
command: |
4348
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
4449
bin/start --no-dev
@@ -60,7 +65,6 @@ jobs:
6065
command: |
6166
bin/magento module:enable Algolia_AlgoliaSearch
6267
63-
6468
workflows:
6569
magento-build-and-test:
6670
jobs:

0 commit comments

Comments
 (0)