File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1010 inputs :
1111 versionSpec : " 3.8"
1212 displayName : Install Python.
13+ - script : |
14+ curl -sSL "https://raw.githubusercontent.com\
15+ /python-poetry/poetry/master/get-poetry.py" | python
16+ echo '##vso[task.prependpath]$(HOME)/.poetry/bin'
17+ displayName: Install Poetry.
1318 - task : NodeTool@0
1419 inputs :
1520 versionSpec : " 10.x"
@@ -18,15 +23,10 @@ jobs:
1823 curl https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh
1924 echo '##vso[task.prependpath]$(system.defaultWorkingDirectory)/bin'
2025 displayName: Install Vale.
21- - script : |
22- curl -sSL "https://raw.githubusercontent.com\
23- /python-poetry/poetry/master/get-poetry.py" | python
24- echo '##vso[task.prependpath]$(HOME)/.poetry/bin'
25- displayName: Install poetry.
2626 - script : poetry install
27- displayName : Install python dependencies.
27+ displayName : Install Python dependencies.
2828 - script : npm install
29- displayName : Install javascript dependencies.
29+ displayName : Install JS dependencies.
3030 - script : poetry run invoke lint
3131 displayName : Run linters.
3232 - script : poetry run invoke build
3939 GIT_COMMITTER_NAME : $(git.name)
4040 GIT_COMMITTER_EMAIL : $(git.email)
4141 GIT_COMMITTER_PASSWORD : $(git.password)
42+ GIT_TERMINAL_PROMPT : 1
4243 displayName : Run deploy.
Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ def build(c):
2626@task
2727def deploy (c ):
2828 command = "poetry run ghp-import --cname dry-python.org --branch master --push site"
29- enter_username = Responder (r"Username: " , environ ["GIT_COMMITTER_NAME" ])
30- enter_password = Responder (r"Password: " , environ ["GIT_COMMITTER_PASSWORD" ])
29+ enter_username = Responder (r"Username for .*: " , environ ["GIT_COMMITTER_NAME" ])
30+ enter_password = Responder (r"Password for .*: " , environ ["GIT_COMMITTER_PASSWORD" ])
3131 c .run (command , pty = True , watchers = [enter_username , enter_password ])
You can’t perform that action at this time.
0 commit comments