Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eyad-hussein authored Jan 4, 2024
1 parent 18b963f commit 9aa5250
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ jobs:
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist

- name: Build the application
run: php artisan build
- name: Generate Laravel application key
run: php artisan key:generate

- name: Run database migrations
run: php artisan migrate --force

- name: Cache Laravel configuration
run: php artisan config:cache


- name: Deploy to Azure App Service
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit 9aa5250

Please sign in to comment.