Skip to content

Commit 730d9c1

Browse files
committed
fix workflow
1 parent 195bf52 commit 730d9c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy-prod.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
key: ${{ secrets.PROD_KEY }}
1414
port: ${{ secrets.PROD_PORT }}
1515
command_timeout: 30m
16-
script: |
16+
script: |
1717
cd ${{secrets.PROD_PROJECT_DIR}}
1818
export GIT_TRACE_PACKET=1
1919
export GIT_TRACE=1
2020
export GIT_CURL_VERBOSE=1
21-
git config pull.rebase true
21+
git stash -u
2222
git pull origin main
2323
npm i
2424
npm run build
2525
composer update
26-
php artisan event:cache
26+
php artisan event:cache
2727
php artisan route:cache
2828
php artisan view:cache
2929
php artisan optimize:clear
3030
php artisan migrate
3131
php artisan storage:link
32-
3332
34-
33+
34+

0 commit comments

Comments
 (0)