staticwebapp-static-tormakr.../.drone.yml
Torma Kristóf 3f3ddb7998
All checks were successful
continuous-integration/drone/push Build is passing
use drone
2022-05-17 21:59:45 +02:00

14 lines
430 B
YAML

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 "staticfiles" --app "/drone/src/staticfiles" --deploymentaction "upload" --appBuildCommand "echo 1"