-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from Crudzaso/develop
Develop
- Loading branch information
Showing
6 changed files
with
507 additions
and
490 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ jobs: | |
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fix git ownership | ||
run: | | ||
git config --global --add safe.directory "${{ secrets.PATH }}" | ||
- name: Executing remote SSH commands using password | ||
uses: appleboy/[email protected] | ||
with: | ||
|
@@ -20,8 +24,7 @@ jobs: | |
git pull origin main | ||
git fetch | ||
echo '${{ secrets.ENV_FILE }}' > .env | ||
composer install | ||
composer install --no-dev --optimize-autoloader | ||
composer dump-autoload | ||
php artisan migrate:fresh --seed | ||
php artisan migrate:fresh --seed || echo "Database migration failed, skipping." | ||
php artisan optimize:clear | ||
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
Oops, something went wrong.