-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly set the date env var in publishDocs.sh
- Loading branch information
Showing
2 changed files
with
13 additions
and
15 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 |
---|---|---|
|
@@ -5,12 +5,12 @@ set -e | |
# File: buildDocs.sh | ||
# Purpose: Script that builds our documentation using sphinx and updates GitHub | ||
# Pages. This script is executed by: | ||
# .github/workflows/docs_pages_workflow.yml | ||
# .github/workflows/docs_pages.yml | ||
# | ||
# Authors: Michael Altfield <[email protected]> | ||
# Created: 2020-07-17 | ||
# Updated: 2020-07-17 | ||
# Version: 0.1 | ||
# Updated: 2022-01-07 | ||
# Version: 0.1.1 | ||
################################################################################ | ||
|
||
################### | ||
|
@@ -25,14 +25,6 @@ python3 -m pip install -r requirements.txt | |
python3 -m pip install -r docs/docs_requirements.txt | ||
python3 -m pip install . | ||
|
||
##################### | ||
# DECLARE VARIABLES # | ||
##################### | ||
|
||
pwd | ||
ls -lah | ||
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) | ||
|
||
############## | ||
# BUILD DOCS # | ||
############## | ||
|
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 |
---|---|---|
|
@@ -2,17 +2,23 @@ | |
set -x | ||
set -e | ||
################################################################################ | ||
# File: buildDocs.sh | ||
# File: publishDocs.sh | ||
# Purpose: Script that builds our documentation using sphinx and updates GitHub | ||
# Pages. This script is executed by: | ||
# .github/workflows/docs_pages_workflow.yml | ||
# .github/workflows/docs_pages.yml | ||
# | ||
# Authors: Michael Altfield <[email protected]> | ||
# Created: 2020-07-17 | ||
# Updated: 2020-07-17 | ||
# Version: 0.1 | ||
# Updated: 2022-01-07 | ||
# Version: 0.1.1 | ||
################################################################################ | ||
|
||
##################### | ||
# DECLARE VARIABLES # | ||
##################### | ||
|
||
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) | ||
|
||
####################### | ||
# Update GitHub Pages # | ||
####################### | ||
|