staticwebapp-blog-tormakris.../.drone.yaml

14 lines
387 B
YAML
Raw Normal View History

2022-05-17 21:38:24 +02:00
kind: pipeline
type: docker
name: Azure Static WebApp
steps:
- name: Build and upload static web app
environment:
APITOKEN:
from_secret: APITOKEN
HUGO_VERSION: 0.97.1
image: mcr.microsoft.com/appsvc/staticappsclient:stable
commands:
2022-05-17 21:47:14 +02:00
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "public" --app "/drone/src" --deployment_action "upload"