Skip to content

Commit

Permalink
Combine deploy 2 jobs into one
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic committed Dec 22, 2023
1 parent 6d8f314 commit 9f0a794
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/hostinger-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,7 +38,6 @@ jobs:
git pull
php composer.phar install
php artisan migrate --force
- name: Install SSH key
run: |
mkdir -p ~/.ssh/
Expand Down

0 comments on commit 9f0a794

Please sign in to comment.