Skip to content

Commit

Permalink
Add deploy-demo.yml in .github/workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic committed Dec 17, 2023
1 parent 4ae01a0 commit 15d3cc6
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy

on:
push:
branches: [main]
branches: [demo]
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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

0 comments on commit 15d3cc6

Please sign in to comment.