Skip to content

Commit

Permalink
Latest data: 2023-11-22T22:43:02+02:00
Browse files Browse the repository at this point in the history
  • Loading branch information
hiAndrewQuinn committed Nov 22, 2023
1 parent 85cccea commit 552ecbe
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions update.fish
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
set this_directory /home/andrew/Code/selkouutiset-archive/
pushd $this_directory

# Pull the latest HEAD from selkouutiset-scrape.
git submodule update --remote content/
cd content/
git pull origin HEAD
cd $this_directory
git submodule update --init
git submodule update --remote --merge

git add -A
set timestamp (date -u)
set timestamp (date --iso-8601=seconds)
git commit -m "Latest data: $timestamp" || exit 0
git push

Expand Down

0 comments on commit 552ecbe

Please sign in to comment.