Update: home banner #35
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
on: | |
push: | |
branches: | |
- master | |
name: π Deploy website on push | |
jobs: | |
web-deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/[email protected] | |
- name: Composer Install | |
run: composer install --no-dev --no-scripts | |
- name: Composer Update | |
run: composer update | |
- name: Cache Clear | |
run: php artisan cache:clear | |
- name: Config Clear | |
run: php artisan config:clear | |
- name: Route Clear | |
run: php artisan route:clear | |
- name: π Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ftp.coolkapada.com | |
username: ${{ secrets.ftp_username }} | |
password: ${{ secrets.ftp_password }} | |
server-dir: /public_html/../coolkapada/ | |