Added prewrap to comments to keep line breaks #33
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: deployment | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy: | |
runs-on: self-hosted | |
steps: | |
- name: git pull | |
run: | | |
cd /home/laravel/project/Timeliner/timeliner | |
git fetch --all | |
git checkout main | |
git pull --all | |
- name: installing dependencies and setup | |
run: | | |
cd /home/laravel/project/Timeliner/timeliner | |
composer install --no-dev --optimize-autoloader | |
php artisan key:generate --force | |
php artisan migrate --force | |
npm install | |
npm run build |