kind: pipeline type: docker name: Static KMLabz website steps: - name: Validate HTML image: ubuntu commands: - apt-get update && apt-get install -y tidy - tidy -imu webpagefiles/index.html - 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 "webpagefiles" --app "/drone/src/webpagefiles" --deploymentaction "upload" --appBuildCommand "echo 1"