File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 5252 - name : Verify required apps are installed and ready
5353 run : |
5454 echo "Checking if required Nextcloud apps are installed and ready..."
55-
55+
5656 # Check Notes app
5757 echo "Checking Notes app..."
5858 max_attempts=30
@@ -67,11 +67,11 @@ jobs:
6767 sleep 3
6868 done
6969 echo "Notes app is ready."
70-
70+
7171 # Check Tables app
7272 echo "Checking Tables app..."
7373 attempt=0
74- until curl -u admin:admin -s -w "%{http_code}\n" -o /dev/null http://localhost:8080/ocs/v2.php/apps/tables/api/2/tables | grep -q "200"; do
74+ until curl -u admin:admin -H 'OCS-APIRequest: true' - s -w "%{http_code}\n" -o /dev/null http://localhost:8080/ocs/v2.php/apps/tables/api/2/tables | grep -q "200"; do
7575 attempt=$((attempt + 1))
7676 if [ $attempt -ge $max_attempts ]; then
7777 echo "Tables app not ready after $max_attempts attempts."
8181 sleep 3
8282 done
8383 echo "Tables app is ready."
84-
84+
8585 # Check Calendar app (CalDAV endpoint)
8686 echo "Checking Calendar app..."
8787 attempt=0
9595 sleep 3
9696 done
9797 echo "Calendar app is ready."
98-
98+
9999 echo "All required apps are installed and ready!"
100100
101101 # Add subsequent steps here, e.g., running tests
You can’t perform that action at this time.
0 commit comments