mirror of
https://codeberg.org/lauralani/www-lauka-net.git
synced 2024-11-27 14:30:03 +01:00
add sourcehut ci
This commit is contained in:
parent
c58597a31d
commit
49da831714
1 changed files with 15 additions and 0 deletions
15
.builds/deploy.yml
Normal file
15
.builds/deploy.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
image: alpine
|
||||
packages:
|
||||
- nodejs
|
||||
- npm
|
||||
secrets:
|
||||
- 46f739e5-4538-45dd-a79f-bf173b7a2ed9
|
||||
tasks:
|
||||
- prepare: |
|
||||
npm install -D @11ty/eleventy
|
||||
npm install -D @azure/static-web-apps-cli
|
||||
set +x && export SWA_CLI_DEPLOYMENT_TOKEN=`cat ~/deploy_token.txt` && set -x
|
||||
- build: |
|
||||
npx @11ty/eleventy --input=. --output=public
|
||||
- deploy: |
|
||||
npx @azure/static-web-apps-cli deploy ./public --env Production
|
Loading…
Reference in a new issue