update ci to use node docker container

This commit is contained in:
lauralani 2022-11-11 12:00:06 +01:00
parent fbd65ab17c
commit ebcc296e6d

View file

@ -5,11 +5,12 @@ pipeline:
- npx @11ty/eleventy --input=. --output=public
deploy:
image: swacli/static-web-apps-cli:latest
image: node:latest
secrets:
- SWA_CLI_DEPLOYMENT_TOKEN
commands:
- swa --version
- swa deploy ./public --verbose=silly
- npm install -D @azure/static-web-apps-cli
- npx @azure/static-web-apps-cli --version
- npx @azure/static-web-apps-cli deploy ./public --verbose=silly
branches: main