Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Apr 10, 2024
1 parent 26c0fcb commit 3cb32d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 4 additions & 4 deletions staging.env.example → .env.staging.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_PORT=3306

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
Expand All @@ -26,7 +29,7 @@ MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="noreply@habit-tracker.com"
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
Expand All @@ -49,6 +52,3 @@ VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

DB_CONNECTION=mysql
DB_HOST=3306
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
- name: Generate key
run: php artisan key:generate

- name: Build frontend
run: |
npm run build
- name: Execute tests
env:
DB_USERNAME: root
Expand Down Expand Up @@ -99,7 +104,9 @@ jobs:
npm run build
- name: Copy .env
run: php -r "file_exists('.env') || copy('staging.env.example', '.env');"
run: |
echo file_exists('.env');
php -r "file_exists('.env') || copy('.env.staging.example', '.env');"
- name: Install composer dependencies
run: composer install --no-cache --no-ansi --no-interaction --no-progress
Expand Down

0 comments on commit 3cb32d9

Please sign in to comment.