From 15d3cc6dc112a789a0c4d3c2ada15e5da7dc0296 Mon Sep 17 00:00:00 2001 From: Zura Sekhniashvili Date: Sun, 17 Dec 2023 20:08:57 +0400 Subject: [PATCH] Add deploy-demo.yml in .github/workflows --- .github/workflows/{deploy.yml => deploy-demo.yml} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename .github/workflows/{deploy.yml => deploy-demo.yml} (92%) 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