mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-27 22:40: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:
|
||||
build:
|
||||
image: node:latest
|
||||
commands:
|
||||
- npx @11ty/eleventy --input=. --output=public
|
||||
|
||||
deploy:
|
||||
image: swacli/static-web-apps-cli:latest
|
||||
secrets:
|
||||
- SWA_CLI_DEPLOYMENT_TOKEN
|
||||
commands:
|
||||
- swa build --app-location ./ --output-location ./public --auto
|
||||
- swa deploy ./public
|
||||
|
||||
branches: main
|
||||
|
|
Loading…
Reference in a new issue