image: debian/testing packages: - emacs-nox - elpa-org-contrib - elpa-org - hugo - zip - bibtex2html sources: - https://git.sr.ht/~ymherklotz/yannherklotz.com secrets: - fbcab77b-bd56-4356-a6b3-54c656f2b364 tasks: - build: | cd yannherklotz.com make public - 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 >/dev/null 2>&1