Skip to content

Fix: fix some errores in the web paths from http to https #7

Fix: fix some errores in the web paths from http to https

Fix: fix some errores in the web paths from http to https #7

Workflow file for this run

name: CI/CD - Crudzaso
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.6
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd "${{ secrets.PATH }}"
git pull origin main
git fetch
echo '${{ secrets.ENV_FILE }}' > .env
composer i
composer dump-autoload
php artisan migrate:fresh --seed
php artisan optimize:clear