Skip to content

Commit

Permalink
RSS feed only gets one log
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve0Greatness committed Sep 17, 2024
1 parent ac09383 commit 078a716
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Pull Changes
run: |
git pull
git log -10
- name: Build Site
run: python main.py
- name: Archive production artifacts
Expand Down
7 changes: 3 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
Otherwise, a copy of this license can be found in the root directory
of this project.
"""

from git import Repo
from RenderUtils import JinjaRender, RenderMarkdown, WIKI_PAGE_TEMPLATE, TOC, GetTemplate, MDWiki
from os import listdir
Expand All @@ -19,9 +18,9 @@
from config import OUTPUT_DIR, DIRECTORIES, ADD_FILES, COMMIT_PREFIX, COMMIT_SUFFIX, SITE_URL
from distutils.dir_util import copy_tree as CopyDir
from syntaxcolors import AddSyntaxColors
from datetime import datetime
from datetime import datetime, UTC as UTC_TIMESTAMP

repo = Repo(dirname(realpath(__file__)))
repo = Repo()

Indexed = []

Expand Down Expand Up @@ -138,7 +137,7 @@ def main():
subject = message[0]

author = commit.author.name
date = datetime.utcfromtimestamp(commit.authored_date).strftime("%Y-%m-%dt%H:%M:%Sz")
date = datetime.fromtimestamp(commit.authored_date, UTC_TIMESTAMP).strftime("%Y-%m-%dt%H:%M:%Sz")

commitlink = COMMIT_PREFIX + str(commit) + COMMIT_SUFFIX

Expand Down

0 comments on commit 078a716

Please sign in to comment.