我已经在管道yml文件中写了这个。
script:
- apt-get update && apt-get install -y unzip git
- cd mu-plugins/div-core
- npm install
- cd ..
- cd ..
- git add mu-plugins/div-core/assets/js/*
- git add mu-plugins/div-core/assets/css/*
- git add mu-plugins/div-core/assets/data/*
- git commit -am "initial commit"
- git pull
- git add --all
- git push git@git.wpengine.com:production/div.git staging
- echo "Pushed to PreProd New"
运行管道时出现此错误。
+ git push git@git.wpengine.com:production/div.git staging
error: src refspec staging does not match any.
error: failed to push some refs to 'git@git.wpengine.com:production/div.git'
请让我知道这里出了什么问题。