git pull每次我从本地项目向 gitlab 存储库进行 git 推送时,在服务器项目中执行 a 的正确形式是什么?
这是我的 gitlab-ci.yml:
stages:
- test
- deploy
test:
stage: test
only:
- develop
- production
script:
- git checkout develop
- git pull
step-deploy-prod:
stage: deploy
only:
- production
script:
- git checkout production
- git pull
environment: production
when: manual
Run Code Online (Sandbox Code Playgroud)
这是来自 Gitlab CI/CD 作业的消息:
Running with gitlab-runner 13.9.0-rc2 (69c049fd)
on docker-auto-scale 72989761
feature flags: FF_GITLAB_REGISTRY_HELPER_IMAGE:true
Preparing the "docker+machine" executor
00:36
Using Docker executor with image ruby:2.5 ...
Pulling docker image …Run Code Online (Sandbox Code Playgroud) 我是新来的.我的if/else if语句有问题.
我懂了:
if (unalumno.notas >= "90" && unalumno.notas <= "100") {
unalumno.notas = "A";
} else if (unalumno.notas >= "80" && unalumno.notas <= "89") {
unalumno.notas = "B";
} else if (unalumno.notas >= "70" && unalumno.notas <= "79") {
unalumno.notas = "C";
} else if (unalumno.notas >= "60" && unalumno.notas <= "69") {
unalumno.notas = "D";
} else if (unalumno.notas <= "59") {
unalumno.notas = "F";
}
Run Code Online (Sandbox Code Playgroud)
所有其他if语句都给了我正确的字母结果,但第一个如果继续给出数字结果.希望能理解我.对不起,英语大声笑
祝你有美好的一天