Avoid to use docker containers for now, as using the windows python seems to be easier
This commit is contained in:
parent
db8b0b581e
commit
6a809d52f0
24
.drone.yml
24
.drone.yml
@ -11,15 +11,6 @@ steps:
|
||||
commands:
|
||||
- 'type C:\ProgramData\Amazon\EC2-Windows\Launch\Log\UserdataExecution.log'
|
||||
|
||||
- name: Generate doc
|
||||
image: python
|
||||
commands:
|
||||
- cp changelog.md doc/changelog.md
|
||||
- cd doc
|
||||
- python documentation_importer.py
|
||||
- cd ../src
|
||||
- python ../doc/generator.py
|
||||
|
||||
- name: Upgrade chocolatey
|
||||
commands:
|
||||
- 'choco upgrade chocolatey -y'
|
||||
@ -35,6 +26,16 @@ steps:
|
||||
- '&$env:PYTHON3_32 -m pip uninstall enum34 -y'
|
||||
- '&$env:PYTHON3_32 -m pip install --upgrade markdown babel nuitka -y'
|
||||
|
||||
- name: Generate doc
|
||||
environment:
|
||||
PYTHON3_32: C:\python37\python.exe
|
||||
commands:
|
||||
- cp changelog.md doc/changelog.md
|
||||
- cd doc
|
||||
- python documentation_importer.py
|
||||
- cd ..\src
|
||||
- '&$env:PYTHON3_32 ..\doc/generator.py'
|
||||
|
||||
- name: Build app
|
||||
environment:
|
||||
PYTHON3_32: C:\python37\python.exe
|
||||
@ -66,13 +67,14 @@ steps:
|
||||
- '&$env:NSIS installer.nsi'
|
||||
|
||||
- name: upload
|
||||
image: python
|
||||
environment:
|
||||
FTP_SERVER: de.manuelcortez.net
|
||||
FTP_USERNAME:
|
||||
from_secret: username
|
||||
FTP_PASSWORD:
|
||||
from_secret: password
|
||||
environment:
|
||||
PYTHON3_32: C:\python37\python.exe
|
||||
commands:
|
||||
- cd artifacts
|
||||
- python ../scripts/upload.py
|
||||
- '&$env:PYTHON3_32 ../scripts/upload.py'
|
Loading…
Reference in New Issue
Block a user