diff --git a/.github/workflows/laravel-dev.yml b/.github/workflows/laravel-dev.yml index 79f6b668..6f2ab4bb 100644 --- a/.github/workflows/laravel-dev.yml +++ b/.github/workflows/laravel-dev.yml @@ -17,16 +17,22 @@ jobs: run: php -r "file_exists('.env') || copy('.env.example', '.env');" - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - - name: Generate key - run: php artisan key:generate - - name: Generate JWT key - run: php artisan jwt:secret - - name: Directory Permissions - run: chmod -R 777 storage bootstrap/cache - name: Create Database run: | mkdir -p database touch database/database.sqlite + - name: Generate key + env: + DB_CONNECTION: sqlite + DB_DATABASE: database/database.sqlite + run: php artisan key:generate + - name: Generate JWT key + env: + DB_CONNECTION: sqlite + DB_DATABASE: database/database.sqlite + run: php artisan jwt:secret + - name: Directory Permissions + run: chmod -R 777 storage bootstrap/cache - name: Download Speedtest binary run: wget https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz && tar zxvf speedtest.tgz && mv speedtest app/Bin/ - name: Accept EULA