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
22542a583d
commit
5803a1c898
1 changed files with 5 additions and 4 deletions
|
@ -1,15 +1,16 @@
|
||||||
image: debian/bullseye
|
image: debian/bullseye
|
||||||
packages:
|
packages:
|
||||||
- nodejs
|
- nodejs
|
||||||
- npm
|
- libsecret-1-0
|
||||||
|
repositories:
|
||||||
|
nodejs: https://deb.nodesource.com/node_18.x bullseye main 1655A0AB68576280
|
||||||
secrets:
|
secrets:
|
||||||
- 7db2a845-55f9-43da-8319-c9c796cbd8a5
|
- 7db2a845-55f9-43da-8319-c9c796cbd8a5
|
||||||
tasks:
|
tasks:
|
||||||
- prepare: |
|
- prepare: |
|
||||||
npm install -D @11ty/eleventy
|
npm install -D @11ty/eleventy @azure/static-web-apps-cli
|
||||||
npm install -D @azure/static-web-apps-cli
|
|
||||||
set +x && export SWA_CLI_DEPLOYMENT_TOKEN=`cat ~/deploy_token.txt` && set -x
|
set +x && export SWA_CLI_DEPLOYMENT_TOKEN=`cat ~/deploy_token.txt` && set -x
|
||||||
- build: |
|
- build: |
|
||||||
npx @11ty/eleventy --input=./www-lauka-net --output=public
|
npx @11ty/eleventy --input=./www-lauka-net --output=public
|
||||||
- deploy: |
|
- deploy: |
|
||||||
npx @azure/static-web-apps-cli deploy ./public --env Production
|
npx @azure/static-web-apps-cli deploy --no-use-keychain --deployment-token --app-location ./public --env Production
|
||||||
|
|
Loading…
Reference in a new issue