Skip to content

Commit

Permalink
updating pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyNadd committed Dec 14, 2024
1 parent ab16cf9 commit 05dc26e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
steps:
- name: Deploying app
run: |
rm -rf /home/laravel/project/T-Caps
cd /home/laravel/project
git clone https://github.com/HE-Arc/T-Caps.git
cd ./T-Caps
if [ -d "./T-Caps" ]; then
cd ./T-Caps
git pull
else
git clone https://github.com/HE-Arc/T-Caps.git
cd ./T-Caps
fi
composer install --optimize-autoloader --no-dev
npm install
cp ../.env .env
Expand All @@ -24,4 +28,4 @@ jobs:
php artisan config:cache
php artisan route:cache
php artisan view:cache
npm run build
npm run build

0 comments on commit 05dc26e

Please sign in to comment.