1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Add build manifest

If this doesn't work I am going to do something regrettable to my
laptop.
This commit is contained in:
rohan kumar 2020-11-03 16:22:19 -08:00
parent d364a8fb9f
commit beb174c66b
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 25 additions and 2 deletions

23
.build.yml Normal file
View file

@ -0,0 +1,23 @@
---
image: alpine/edge
packages:
- rsync
- hugo
sources:
- https://git.sr.ht/~seirdy/seirdy.one
secrets:
- cc1eb90c-b07b-4c46-86d4-58fec41cf0e4
triggers:
- action: email
condition: always
to: Rohan Kumar <seirdy@seirdy.one>
tasks:
- build: |
cd seirdy.one
hugo
- upload: |
cd seirdy.one
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
rsync -rvzP --exclude "public/gemini" --exclude "*.gmi" public/ deploy@seirdy.one:/var/www/seirdy.one/
rsync -rvzP --exclude "*.html" public/gemini/ public/about public/posts deploy@seirdy.one:/srv/gemini/seirdy.one/
rsync -rvzP public/posts/gemini/index.xml deploy@seirdy.one:/srv/gemini/seirdy.one/feed.xml

View file

@ -7,4 +7,6 @@ mirror](https://img.shields.io/badge/mirror-GitLab-orange.svg?logo=gitlab)](http
[![GitHub
mirror](https://img.shields.io/badge/mirror-GitHub-black.svg?logo=github)](https://github.com/Seirdy/seirdy.one)
[![builds.sr.ht status](https://builds.sr.ht/~seirdy/seirdy.one.svg)](https://builds.sr.ht/~seirdy/seirdy.one)
Code for my personal website, [seirdy.one](https://seirdy.one). Built with Hugo.

View file

@ -20,5 +20,3 @@ Git repos:
Chat with me: I prefer IRC, where my nick is usually Seirdy. Alternatively, I'm on Matrix:
=> https://matrix.to/#/@seirdy:envs.net @seirdy:envs.net
When I finish setting up CI/CD, this line should disappear.