diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..a350ddd --- /dev/null +++ b/.drone.yaml @@ -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"