From 2cf5622a5d1aa2c5420d245ad4948fe66aed5ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 19 Jan 2024 12:50:23 +0100 Subject: [PATCH] add drone config --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .drone.yml 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"