Skip to content

Commit 73e9ad5

Browse files
committed
More fixes
1 parent da6b7fd commit 73e9ad5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/Models/ResourceEdits.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function sluggable(): array
6060
{
6161
return [
6262
'slug' => [
63-
'source' => ['edit_title', 'computer_science_resource_id'],
63+
'source' => ['edit_title', 'id'],
6464
'unique' => true,
6565
],
6666
];

deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@
6666
chdir: "{{ project_path }}"
6767

6868
- name: Remove old build directory
69-
command: rm -rf /var/www/ComputerScienceResources.com/public/build
69+
file:
70+
path: /var/www/ComputerScienceResources.com/public/build
71+
state: absent
7072
when: not (skip_frontend | default(false))
7173

7274
- name: Swap new_build into build

0 commit comments

Comments
 (0)