use working dir
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-07-31 20:07:01 +02:00
parent 1ede6b32e6
commit c0b1e74db8

View File

@ -1,3 +1,4 @@
---
kind: pipeline
type: docker
name: Azure Static WebApp
@ -9,5 +10,6 @@ steps:
from_secret: APITOKEN
image: mcr.microsoft.com/appsvc/staticappsclient:stable
commands:
- pip install --target="/drone/src/ss-oryx/api.python_packages/lib/site-packages" -r /drone/src/api/requirements.txt
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "dist" --app "/drone/src" --api "/drone/src/api" --deploymentaction "upload" --verbose true
- pip install --target=".python_packages/lib/site-packages" -r requirements.txt
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "dist" --app "/drone/src" --api "/drone/src/api" --deploymentaction "upload" --verbose true
...