Skip to content

Commit

Permalink
Merge pull request #49 from mattpopovich/fix-last-modified
Browse files Browse the repository at this point in the history
Fix "Last Modified" not showing
  • Loading branch information
mattpopovich authored Dec 5, 2023
2 parents f583b28 + eaded09 commit 58b9de5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ jobs:
steps:
# Pull our repository
- name: Checkout
uses: actions/checkout@v3
# with:
# fetch-depth: 0
uses: actions/checkout@v4
with:
fetch-depth: 0 # for posts's lastmod
# submodules: true
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)

- name: Debug
# confirmed that rsync is installed
run: |
echo "Debugging..."
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -38,25 +33,14 @@ jobs:

- name: Build site
run: |
pwd
ls -lah
bundle exec jekyll b
ls -lah
ls -lah _site
env:
JEKYLL_ENV: "production"

- name: Test site
run: |
ls -alh
ls -lah _site
bundle exec htmlproofer _site --disable-external --check-html --ignore-urls http://www.mathmatique.com/articles/left-exercise-reader
- name: Upload site artifact
uses: actions/upload-pages-artifact@v1
with:
path: "_site"

- name: Dry-run deployment to mattpopovich.com
uses: easingthemes/[email protected]
env:
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
# with:
# fetch-depth: 0
uses: actions/checkout@v4
with:
fetch-depth: 0 # for posts's lastmod
# submodules: true
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
Expand All @@ -43,19 +43,10 @@ jobs:

- name: Build site
run: |
pwd
ls -lah
bundle exec jekyll b
ls -lah
ls -lah _site
env:
JEKYLL_ENV: "production"

# - name: Upload site artifact
# uses: actions/upload-pages-artifact@v1
# with:
# path: "_site"

- name: Deploy to mattpopovich.com
uses: easingthemes/[email protected]
env:
Expand Down

0 comments on commit 58b9de5

Please sign in to comment.