diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..c7b35fc --- /dev/null +++ b/.drone.yml @@ -0,0 +1,12 @@ +kind: pipeline +type: docker +name: Azure Static WebApp + +steps: +- name: Build and upload static web app + environment: + APITOKEN: + from_secret: APITOKEN + image: mcr.microsoft.com/appsvc/staticappsclient:stable + commands: + - /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "staticfiles" --app "/drone/src/staticfiles" --deploymentaction "upload" --appBuildCommand "echo 1"