Merge pull request 'fix: 修正 CI 並發 fetch 導致 git ref 衝突' (#18) from fix/sentry-composer into master
Deploy Production / deploy (push) Failing after 1s
Deploy Production / deploy (push) Failing after 1s
Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
@@ -12,7 +12,8 @@ jobs:
|
||||
- name: Pull latest code
|
||||
run: |
|
||||
cd /root/myproject/CFDivePlatform
|
||||
git pull
|
||||
flock -w 30 /tmp/cfdive-deploy.lock git fetch origin
|
||||
git reset --hard origin/master
|
||||
|
||||
- name: Install Composer dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user