diff --git a/.drone.yml b/.drone.yml index c7b35fc..28cea34 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,17 @@ type: docker name: Azure Static WebApp steps: -- name: Build and upload static web app +- name: Upload mta-sts content 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" +- name: Upload mta-sts.groups content + environment: + APITOKEN: + from_secret: APITOKEN_GROUPS + image: mcr.microsoft.com/appsvc/staticappsclient:stable + commands: + - /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "staticfiles" --app "/drone/src/staticfiles" --deploymentaction "upload" --appBuildCommand "echo 1"