diff --git a/.builds/deploy.yml b/.builds/deploy.yml new file mode 100644 index 0000000..ef41eb1 --- /dev/null +++ b/.builds/deploy.yml @@ -0,0 +1,15 @@ +image: alpine +packages: + - nodejs + - npm +secrets: + - 46f739e5-4538-45dd-a79f-bf173b7a2ed9 +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=. --output=public + - deploy: | + npx @azure/static-web-apps-cli deploy ./public --env Production