add drone config
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Torma Kristóf 2022-05-17 21:38:24 +02:00
parent a8a3e78301
commit 62820c9d96

13
.drone.yaml Normal file
View File

@ -0,0 +1,13 @@
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:
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "public" --app "/drone/src"