mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-23 20:50:40 +01:00
16 lines
380 B
YAML
16 lines
380 B
YAML
pipeline:
|
|
build:
|
|
image: node:latest
|
|
commands:
|
|
- npm install -D @11ty/eleventy
|
|
- npx @11ty/eleventy --input=. --output=public
|
|
|
|
deploy:
|
|
image: node:latest
|
|
secrets:
|
|
- SWA_CLI_DEPLOYMENT_TOKEN
|
|
commands:
|
|
- npm install -D @azure/static-web-apps-cli
|
|
- npx @azure/static-web-apps-cli deploy ./public --env Production
|
|
|
|
branches: main
|