add sourcehut ci

This commit is contained in:
lauralani 2023-02-25 19:58:56 +01:00
parent c58597a31d
commit 49da831714

15
.builds/deploy.yml Normal file
View 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