-
-
Save hendisantika/54e45c62379159bf595fdcf2e06e9fe2 to your computer and use it in GitHub Desktop.
π³ GitHub Actions using Laravel Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: My Workflow | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: lorisleiva/laravel-docker:7.4 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy .env | |
run: php -r "file_exists('.env') || copy('.env.example', '.env');" | |
- name: Install Dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Generate key | |
run: php artisan key:generate | |
# Your Laravel application is ready... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment