@extends('layouts.app') {{-- Or your main user-facing layout --}} @section('title', 'Deploy Website: ' . ($website->name ?: 'Untitled Website')) @section('header_title', 'Deploy Website') @section('content')

Deploy: {{ $website->name ?: 'Untitled Website' }}

Enter your hosting details. Ensure the website ZIP is generated and ready.

@include('webpilotai::user.partials._validation_errors') @include('webpilotai::user.partials._session_messages') {{-- Or your main app's session messages partial --}}
@csrf
@error('deployment_type')

{{ $message }}

@enderror
@error('host')

{{ $message }}

@enderror
@error('username')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror

Leave blank for default (FTP: 21, SFTP: 22, cPanel: 2083).

@error('port')

{{ $message }}

@enderror

The directory on your server where website files should be uploaded. Common paths: public_html, httpdocs, www. Use / for the root directory if unsure for FTP/SFTP.

@error('remote_path')

{{ $message }}

@enderror
{{-- cPanel specific fields - initially hidden, shown by JS if cPanel is selected --}}

cPanel Specific Settings

The primary domain of your cPanel account, or the specific domain if deploying to an addon domain's root. The 'Host / Server Address' above should be your cPanel server's hostname (e.g., server.hosting.com).

@error('cpanel_domain')

{{ $message }}

@enderror
Cancel
@endsection @push('scripts') @endpush @push('styles') {{-- Font Awesome for icons if not already globally included --}} {{-- --}} @endpush