mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +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:
parent
d364a8fb9f
commit
beb174c66b
3 changed files with 25 additions and 2 deletions
23
.build.yml
Normal file
23
.build.yml
Normal 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
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue