staticwebapp-hhv-tormakrist.../.drone.yml
Kristóf Torma 1ede6b32e6
Some checks failed
continuous-integration/drone/push Build is failing
copy to destination
2022-07-31 20:02:01 +02:00

13 lines
516 B
YAML

kind: pipeline
type: docker
name: Azure Static WebApp
steps:
- name: Build and upload static web app
environment:
APITOKEN:
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