From b5ff255063582e3d69a529a88671aad78230a062 Mon Sep 17 00:00:00 2001 From: Javier Feliz Date: Tue, 22 Jul 2025 22:24:21 -0400 Subject: [PATCH] Update action with correct name --- .github/workflows/build.yml | 4 ++-- app/Livewire/Forms/{NewScript.php => Script.php} | 4 ++-- resources/views/dashboard.blade.php | 9 ++++++--- .../forms/{new-script.blade.php => script.blade.php} | 0 4 files changed, 10 insertions(+), 7 deletions(-) rename app/Livewire/Forms/{NewScript.php => Script.php} (88%) rename resources/views/livewire/forms/{new-script.blade.php => script.blade.php} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e7a755..62128bc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,5 +48,5 @@ jobs: file: ${{ github.workspace }}/Dockerfile push: true tags: | - gitgud.foo/thegrind/flowtodo:latest - gitgud.foo/thegrind/flowtodo:${{ github.event.release.tag_name }} \ No newline at end of file + gitgud.foo/thegrind/scripthost:latest + gitgud.foo/thegrind/scripthost:${{ github.event.release.tag_name }} \ No newline at end of file diff --git a/app/Livewire/Forms/NewScript.php b/app/Livewire/Forms/Script.php similarity index 88% rename from app/Livewire/Forms/NewScript.php rename to app/Livewire/Forms/Script.php index 0be1eb4..5595a84 100644 --- a/app/Livewire/Forms/NewScript.php +++ b/app/Livewire/Forms/Script.php @@ -5,7 +5,7 @@ namespace App\Livewire\Forms; use Livewire\Attributes\Validate; use Livewire\Component; -class NewScript extends Component +class Script extends Component { #[Validate('required')] public string $name = ''; @@ -28,6 +28,6 @@ class NewScript extends Component public function render() { - return view('livewire.forms.new-script'); + return view('livewire.forms.script'); } } diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 4a9a4b0..0b0a1a6 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -1,7 +1,10 @@ -
- -
+
+
+ +
+
+ Your Scripts @foreach (auth()->user()->scripts as $s)
{{ $s->name }} diff --git a/resources/views/livewire/forms/new-script.blade.php b/resources/views/livewire/forms/script.blade.php similarity index 100% rename from resources/views/livewire/forms/new-script.blade.php rename to resources/views/livewire/forms/script.blade.php