mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-24 05:00:02 +01:00
update ci
This commit is contained in:
parent
54a64a8d64
commit
bcb0bc4077
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue