diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy-demo.yml similarity index 92% rename from .github/workflows/deploy.yml rename to .github/workflows/deploy-demo.yml index 985656c..83b5279 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy-demo.yml @@ -2,7 +2,7 @@ name: Deploy on: push: - branches: [main] + branches: [demo] jobs: deploy: runs-on: ubuntu-latest @@ -51,10 +51,8 @@ jobs: key: ${{ secrets.SSH_KEY }} script_stop: true script: | - cd apps - cd laravel-example + cd domains + cd lcommerce.net git pull - npm ci - npm run prod - composer i + composer install php artisan migrate --force