image: debian/stable packages: - curl - rsync - ruby - ruby-dev - zlib1g-dev sources: - https://git.sr.ht/~sircmpwn/drewdevault.com environment: deploy: deploy@drewdevault.com secrets: - 160a72cf-34d6-47b7-928b-c13b42b4d4f6 triggers: - action: email condition: always to: Drew DeVault tasks: - openring: | curl -O https://yukari.sr.ht/openring chmod +x openring cd drewdevault.com ../openring \ -s https://emersion.fr/blog/rss.xml \ -s http://way-cooler.org/feed.xml \ -s https://danluu.com/atom.xml \ -s https://os.phil-opp.com/rss.xml \ -s https://blog.golang.org/feed.atom \ -s https://aphyr.com/posts.atom \ < _includes/webring-in.html \ > _includes/webring-out.html - setup: | sudo gem install github-pages - build: | cd drewdevault.com jekyll build - deploy: | cd drewdevault.com sshopts="-o StrictHostKeyChecking=no" rsync --rsh="ssh $sshopts" -rP _site/ ${deploy}:/var/www/drewdevault.com/