Kristóf Torma
237205df26
All checks were successful
continuous-integration/drone/push Build is passing
16 lines
528 B
YAML
16 lines
528 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/api/.python_packages/lib/python3.9/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
|
|
...
|