config garden and content submodule
parent
7ab4f235cf
commit
4bb0c119fc
|
@ -0,0 +1,3 @@
|
|||
[submodule "src"]
|
||||
path = src
|
||||
url = tilde:~/g/weed.git
|
|
@ -1,6 +1,6 @@
|
|||
<item>
|
||||
<title>$if(title)$$title$$else$Title Unknown$endif$</title>
|
||||
<author>TODO: FIXME</author>
|
||||
<author>dozens sin leche</author>
|
||||
<guid isPermaLink="false">$if(created_at)$$created_at$$else$Unknown Date$endif$</guid>
|
||||
<pubDate>$if(created_at)$$created_at$$else$Unknown Date$endif$</pubDate>
|
||||
<description>
|
||||
|
|
14
justfile
14
justfile
|
@ -1,15 +1,19 @@
|
|||
# vars
|
||||
feed_title := "confessions of a gardener"
|
||||
feed_desc := "all about my dirty life and times"
|
||||
feed_href := "https://example.com/weed/feed.xml"
|
||||
feed_title := "dozens weed"
|
||||
feed_desc := "my special little weed in my special little garden"
|
||||
feed_href := "https://tilde.town/~dozens/rsspect/feed.xml"
|
||||
outfile := "feed.xml"
|
||||
|
||||
# show all available commands
|
||||
default:
|
||||
just --list
|
||||
|
||||
# update content submodule
|
||||
fetch:
|
||||
git submodule foreach git pull
|
||||
|
||||
# build feed.xml
|
||||
build:
|
||||
build: fetch
|
||||
#!/bin/sh
|
||||
echo "Building xml file!!"
|
||||
echo "<?xml version=\"1.0\" ?>" > {{outfile}}
|
||||
|
@ -29,7 +33,7 @@ build:
|
|||
# upload feed.xml
|
||||
up:
|
||||
@echo "Uploading to server!!"
|
||||
#@rsync -azP feed.xml server:www/weed/
|
||||
@rsync -azP feed.xml tilde:public_html/rsspect/
|
||||
@echo "Done uploading to server \o/"
|
||||
|
||||
# build and upload
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 7eba735bf155fd920813c432c1069e95ded958a1
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
title: 'the beginning of our adventure together'
|
||||
created_at: 'Mon, 24 Jan 2022 17:34:36 -0700'
|
||||
---
|
||||
So the other day I was riding my bike, and....
|
Loading…
Reference in New Issue