Last active
September 18, 2024 11:24
-
-
Save lorisleiva/216ee80e888f9d172503e031c0b5d193 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