staticwebapp-www-tormakrist.../.drone.yml

19 lines
493 B
YAML
Raw Permalink Normal View History

2022-05-19 10:01:01 +02:00
kind: pipeline
type: docker
name: Azure Static WebApp
steps:
- name: Checkout submodules
image: bitnami/git
commands:
- git submodule update --init --recursive
- name: Build and upload static web app
environment:
APITOKEN:
from_secret: APITOKEN
2023-09-23 11:33:58 +02:00
HUGO_VERSION: 0.118.2
2022-05-19 10:01:01 +02:00
image: mcr.microsoft.com/appsvc/staticappsclient:stable
commands:
- /bin/staticsites/StaticSitesClient --apiToken $APITOKEN --outputLocation "public" --app "/drone/src" --deploymentaction "upload"