generated from cotes2020/chirpy-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from mattpopovich/fix-last-modified
Fix "Last Modified" not showing
- Loading branch information
Showing
2 changed files
with
6 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|
@@ -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: | ||
|