use drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-05-17 22:06:10 +02:00
parent 71fedbf2bb
commit c9fbbd0aaf
2 changed files with 13 additions and 66 deletions

13
.drone.yml 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" --deploymentaction "upload"