Try with port

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-04-27 10:30:31 +02:00
committed by Luka Trovic
parent f2ba1bd4ab
commit 349c94ee23
2 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ on:
env: env:
APP_NAME: deck APP_NAME: deck
CYPRESS_baseUrl: http://nextcloud.local/index.php CYPRESS_baseUrl: http://localhost:8081/index.php
jobs: jobs:
cypress: cypress:
@@ -26,7 +26,7 @@ jobs:
server-versions: [ 'master' ] server-versions: [ 'master' ]
steps: steps:
- name: Set up custom host for nextcloud - name: Set up custom host for nextcloud
run: | run: |
sudo echo "127.0.0.1 nextcloud.local" | sudo tee -a /etc/hosts sudo echo "127.0.0.1 nextcloud.local" | sudo tee -a /etc/hosts
cat /etc/hosts cat /etc/hosts
@@ -75,13 +75,13 @@ jobs:
php occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu" php occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu"
php occ config:system:set debug --value=true --type=boolean php occ config:system:set debug --value=true --type=boolean
php -f index.php php -f index.php
sudo php -S 0.0.0.0:80 & php -S 0.0.0.0:8081 &
export OC_PASS=1234561 export OC_PASS=1234561
php occ user:add --password-from-env user1 php occ user:add --password-from-env user1
php occ user:add --password-from-env user2 php occ user:add --password-from-env user2
php occ app:enable deck php occ app:enable deck
php occ app:list php occ app:list
curl -v http://nextcloud.local/index.php/login curl -v http://localhost:8081/index.php/login
cat data/nextcloud.log cat data/nextcloud.log
- name: Cypress run - name: Cypress run

View File

@@ -1,7 +1,7 @@
{ {
"baseUrl": "http://nextcloud.local/index.php", "baseUrl": "http://nextcloud.local/index.php",
"projectId": "hx9gqy", "projectId": "1s7wkc",
"viewportWidth": 1280, "viewportWidth": 1280,
"viewportHeight": 720, "viewportHeight": 720,
"experimentalSessionSupport": true "experimentalSessionAndOrigin": true
} }