Skip to content

Commit

Permalink
move scripts away from this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sudorandom committed May 27, 2024
1 parent 175e816 commit 0592918
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 46 deletions.
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: rss mastodon run
.PHONY: rss mastodon run update-socialstore-me

rss:
curl -k -u kevin https://rss.local.squirrels.dk/v1/export > data/links.xml
Expand All @@ -7,14 +7,15 @@ run:
hugo server --buildDrafts --buildFuture --minify

socialstore-me:
git clone --depth=1 https://github.com/sudorandom/socialstore-me.git
git clone --depth=1 git@github.com:sudorandom/socialstore-me.git

mastodon: socialstore-me
cd socialstore-me; git pull origin main
update-socialstore-me: socialstore-me
cd socialstore-me; git fetch origin; git reset --hard origin/main

mastodon: update-socialstore-me
@mkdir -p assets/mastodon data/mastodon
cp -r socialstore-me/media/* assets/mastodon/
cp -r socialstore-me/statuses/* data/mastodon/
@rm -rf socialstore-me

build:
hugo --gc --minify --cleanDestinationDir --baseURL "https://kmcd.dev/" --destination=live
Expand Down
18 changes: 0 additions & 18 deletions scripts/pull-mastodon.sh

This file was deleted.

23 changes: 0 additions & 23 deletions scripts/rebuild.sh

This file was deleted.

1 change: 1 addition & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
send_metrics = false

0 comments on commit 0592918

Please sign in to comment.