Skip to content

Commit

Permalink
Adds copying environment file to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
frostieDE committed Mar 23, 2024
1 parent a9c7777 commit f44d2a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ jobs:
restore-keys: |
${{ runner.os }}-php-
- name: Copy configuration file
run: cp .env .env.local

- name: Replace environment (to dev)
run: sed -i 's/APP_ENV=prod/APP_ENV=dev/' .env
run: sed -i 's/APP_ENV=prod/APP_ENV=dev/' .env.local

- name: Install PHP dependencies
run: composer install --prefer-dist --no-progress --no-scripts
Expand Down

0 comments on commit f44d2a2

Please sign in to comment.