Skip to content

Commit 36350e2

Browse files
committed
.
1 parent 5ab7e65 commit 36350e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
image: ghcr.io/${{ github.repository }}:main-${{ matrix.nextcloud_version }}
7070
env:
7171
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
72-
NEXTCLOUD_PATH: /usr/src/nextcloud/
72+
NEXTCLOUD_PATH: /usr/src/nextcloud/apps
7373
NEXTCLOUD_UPDATE: 1
7474
XDEBUG_MODE: coverage
7575
volumes:
@@ -95,11 +95,11 @@ jobs:
9595
# @CHECKME: cp site.conf /etc/apache2/sites-enabled/000-default.conf (?)
9696
- name: Setup Test Environment
9797
run: |
98-
git config --global --add safe.directory /usr/src/nextcloud/apps
98+
git config --global --add safe.directory "${NEXTCLOUD_PATH}"
9999
/entrypoint.sh "echo"
100100
bash "${GITHUB_WORKSPACE}/init.sh"
101-
rm -r /usr/src/nextcloud/apps/solid/
102-
cp --archive --verbose "${GITHUB_WORKSPACE}/." /usr/src/nextcloud/apps/
101+
rm -r "${NEXTCLOUD_PATH}/solid/"
102+
cp --archive --verbose "${GITHUB_WORKSPACE}/." "${NEXTCLOUD_PATH}"
103103
working-directory: /usr/src/nextcloud/
104104
- name: Install and Cache Composer dependencies
105105
uses: ramsey/composer-install@v3

0 commit comments

Comments
 (0)