1
0
Fork 0

add drone config

This commit is contained in:
Torma Kristóf 2024-01-19 12:50:23 +01:00
parent 57fc4abd8a
commit 2cf5622a5d
1 changed files with 12 additions and 0 deletions

12
.drone.yml Normal file
View File

@ -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"