change drone ,config name to default
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-05-19 09:20:08 +02:00
parent d4f4c4edd8
commit 68dbe42ac7

18
.drone.yml Normal file
View File

@@ -0,0 +1,18 @@
kind: pipeline
type: docker
name: Azure Static WebApp
steps:
- name: Checkout submodules
image: bitnami/git
commands:
- git submodule update --init --recursive
- 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"