1
0

add groups stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2024-01-19 13:06:16 +01:00
parent 38067faab7
commit 044341383c

View File

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