File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ echo "Configurações Laravel..."
2525php artisan key:generate --ansi
2626php artisan storage:link
2727ln -s public public_html
28- php artisan migrate
28+ php artisan migrate --force
2929
3030
3131echo " Deploy finalizado!"
Original file line number Diff line number Diff line change 11name : markdownEditor CI
2- on :
2+ on :
33 push :
44 branches :
55 - main
@@ -20,13 +20,15 @@ jobs:
2020 port : ${{ secrets.REMOTE_PORT }}
2121 # key: ${{ secrets.SERVER_SSH_KEY }}
2222 script : |
23+ echo "(php artisan down) || true"
2324 echo "running pull..."
2425 cd domains/${{ secrets.APP_URL }}/
2526 git pull
2627 echo "done!"
2728 echo "running deploy.sh..."
2829 chmod +x .github/scripts/deploy.sh
2930 ./.github/scripts/deploy.sh
31+ php artisan up
3032 echo "done!"
3133
3234
You can’t perform that action at this time.
0 commit comments