This commit is contained in:
@@ -17,6 +17,7 @@ jobs:
|
||||
run: |
|
||||
echo "=== 拉取最新代码 ==="
|
||||
echo "部署路径: ${{ vars.DEPLOY_PATH }}"
|
||||
git config --global --add safe.directory ${{ vars.DEPLOY_PATH }}
|
||||
cd ${{ vars.DEPLOY_PATH }}
|
||||
git fetch origin master
|
||||
git reset --hard origin/master
|
||||
|
||||
Reference in New Issue
Block a user