Skip to content

Commit

Permalink
Force migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkarsoft committed Jan 3, 2024
1 parent 1032162 commit f59463e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
port: ${{ secrets.PORT }}
script: 'cd /var/www/movieapp.kofi.work/public_html && sudo chmod 777 deploy.sh && ./deploy.sh'



# - name: Install Dependencies
# run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "Deploying application ..."
composer install -q --no-interaction --prefer-dist
# Migrate database

# php artisan migrate --force
php artisan migrate --force

# Note: If you're using queue workers, this is the place to restart them.
# ...
Expand Down

0 comments on commit f59463e

Please sign in to comment.