Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
angusgoody committed Aug 11, 2023
1 parent eeac075 commit 83c4628
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ composer.lock
node_modules
.env
.git
.github
public/images
.github
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: CI Pipeline

on:
workflow_dispatch:
pull_request:
branches:
- master

env:
IMAGE_NAME: portfolio-testing-image
IMAGE_NAME: portfolio-test-image
REGISTRY: ghcr.io

jobs:
Expand Down
1 change: 1 addition & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
'prefix' => '',
'prefix_indexes' => true,
],


],

Expand Down
2 changes: 1 addition & 1 deletion config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

'links' => [
public_path('storage') => storage_path('app/public'),
public_path('images') => storage_path('app/public/images'),
//public_path('images') => storage_path('app/public/images'),
],

];
15 changes: 13 additions & 2 deletions start_tests.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
#!/bin/sh

# Create .env file from environment variables
#printenv | awk -F "=" 'NF==2 && $2 !~ /[\n\t ]/' > .env
# RUN printenv | grep -v "no_proxy" > .env # - Uncomment to load .env from env variables passed into container at runtime


# Run our artisan commands
php artisan route:clear

php artisan route:cache

php artisan config:clear

php artisan config:cache

php artisan view:clear

php artisan storage:link
php artisan view:cache

php artisan migrate --force

php artisan optimize

chmod -R 777 storage

php artisan db:seed --force

php artisan test

0 comments on commit 83c4628

Please sign in to comment.