mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-27 22:40:02 +01:00
15 lines
453 B
YAML
15 lines
453 B
YAML
image: debian/bullseye
|
|
packages:
|
|
- nodejs
|
|
- npm
|
|
secrets:
|
|
- 7db2a845-55f9-43da-8319-c9c796cbd8a5
|
|
tasks:
|
|
- prepare: |
|
|
npm install -D @11ty/eleventy
|
|
npm install -D @azure/static-web-apps-cli
|
|
set +x && export SWA_CLI_DEPLOYMENT_TOKEN=`cat ~/deploy_token.txt` && set -x
|
|
- build: |
|
|
npx @11ty/eleventy --input=./www-lauka-net --output=public
|
|
- deploy: |
|
|
npx @azure/static-web-apps-cli deploy ./public --env Production
|