From 9f0a794fb22b5254dca533caa81bb5f8914012e3 Mon Sep 17 00:00:00 2001 From: Zura Sekhniashvili Date: Fri, 22 Dec 2023 23:58:43 +0400 Subject: [PATCH] Combine deploy 2 jobs into one --- .github/workflows/hostinger-deploy.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/hostinger-deploy.yml b/.github/workflows/hostinger-deploy.yml index b755d20..cc3870d 100644 --- a/.github/workflows/hostinger-deploy.yml +++ b/.github/workflows/hostinger-deploy.yml @@ -22,16 +22,7 @@ jobs: run: npm ci - name: Setup Project run: | - php artisan config:clear - php artisan cache:clear - php artisan key:generate npm run build - - name: Directory Permissions - run: chmod 755 -R storage bootstrap/cache - deploy: - runs-on: ubuntu-latest - needs: build - steps: - name: Deploy PHP to Server if: ${{ success() }} uses: appleboy/ssh-action@master @@ -47,7 +38,6 @@ jobs: git pull php composer.phar install php artisan migrate --force - - name: Install SSH key run: | mkdir -p ~/.ssh/