add drone config
This commit is contained in:
parent
57fc4abd8a
commit
2cf5622a5d
12
.drone.yml
Normal file
12
.drone.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user