staticwebapp-hhv-tormakrist.../.drone.yml
Torma Kristóf 764a7b98d8
All checks were successful
continuous-integration/drone/push Build is passing
add api
2022-05-21 22:56:04 +02:00

12 lines
382 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:
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "dist" --app "/drone/src" --api "/drone/src/api" --deploymentaction "upload"