Merge pull request #20 from HE-Arc/19-intermediate-evaluation-feedback #14
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 | |
php artisan key:generate --force | |
php artisan migrate --force | |
npm install | |
npm run build |