Skip to content

Commit

Permalink
Update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Nov 21, 2023
1 parent 07d94b8 commit d761174
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,18 @@ jobs:
password: ${{ secrets.SSH_PASS }}
script: |
cd ${{ secrets.PROJECT_PATH}}
php8.1 artisan down
php8.2 artisan down
git reset --hard
git fetch origin
git pull "https://Lukasss93:${{ secrets.GIT_TOKEN }}@github.com/Lukasss93/telegram-stickeroptimizer.git" master
php8.1 composer.phar install --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress
php8.1 artisan migrate --force --step
php8.1 artisan optimize
php8.1 artisan storage:link
php8.1 artisan nutgram:register-commands
php8.1 artisan up
php8.2 composer.phar install --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress
php8.2 artisan migrate --force --step
php8.2 artisan optimize:clear
php8.2 artisan optimize
php8.2 artisan view:cache
php8.2 artisan event:cache
php8.2 artisan storage:link
php8.2 artisan nutgram:register-commands
php8.2 artisan stats:update
php8.2 artisan up
echo 'DONE!'

0 comments on commit d761174

Please sign in to comment.