Skip to content

Commit

Permalink
added .env simulation for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajsohal committed Aug 16, 2024
1 parent cd1ac3f commit 68dde29
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '8.2' # Or your PHP version
extensions: mbstring, xml, dom
extensions: mbstring, xml, dom, sqlite3
ini-values: post_max_size=256M, upload_max_filesize=256M

- name: Install Composer dependencies
run: composer install

- name: Set APP_DEBUG to true for debugging
run: echo "APP_DEBUG=true" >> .env
run: echo "APP_ENV=production" >> .env
run: echo "APP_URL=https://electrik.dev" >> .env

- name: Build static files
run: php artisan export

Expand Down

0 comments on commit 68dde29

Please sign in to comment.