update ci

This commit is contained in:
lauralani 2022-11-10 20:25:21 +01:00
parent 54a64a8d64
commit bcb0bc4077

View file

@ -1,10 +1,14 @@
pipeline: pipeline:
build:
image: node:latest
commands:
- npx @11ty/eleventy --input=. --output=public
deploy: deploy:
image: swacli/static-web-apps-cli:latest image: swacli/static-web-apps-cli:latest
secrets: secrets:
- SWA_CLI_DEPLOYMENT_TOKEN - SWA_CLI_DEPLOYMENT_TOKEN
commands: commands:
- swa build --app-location ./ --output-location ./public --auto
- swa deploy ./public - swa deploy ./public
branches: main branches: main