blob: 4f40563229861b8f40f09b771a8cadb02cae385a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
image: debian/testing
packages:
- emacs
- hugo
- zip
sources:
- https://git.sr.ht/~ymherklotz/yannherklotz.com
secrets:
- fbcab77b-bd56-4356-a6b3-54c656f2b364
tasks:
- build: |
cd yannherklotz.com
emacs --batch --no-init --file content.org --load publish.el
hugo
- deploy: |
cd yannherklotz.com
zip -r public.zip public
set +x
key=$(cat ~/.netlify-key)
curl -H "Content-Type: application/zip" \
-H "Authorization: Bearer $key" \
--data-binary "@public.zip" \
https://api.netlify.com/api/v1/sites/yannherklotz.netlify.app/deploys
|