2022-07-31 20:07:01 +02:00
|
|
|
---
|
2022-05-21 20:38:11 +02:00
|
|
|
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:
|
2022-07-31 20:13:27 +02:00
|
|
|
- pip install --target="/drone/src/api/.python_packages/lib/python3.9/site-packages" -r /drone/src/api/requirements.txt
|
2022-07-31 20:07:01 +02:00
|
|
|
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "dist" --app "/drone/src" --api "/drone/src/api" --deploymentaction "upload" --verbose true
|
2022-07-31 20:13:27 +02:00
|
|
|
...
|