diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..e82cd31 --- /dev/null +++ b/.build.yml @@ -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 +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 diff --git a/README.md b/README.md index 53e06c5..703fcc9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/content/_index.gmi b/content/_index.gmi index 57745d1..c74c0bf 100644 --- a/content/_index.gmi +++ b/content/_index.gmi @@ -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.