Skip to content

Commit

Permalink
un-comment the generate-docs script
Browse files Browse the repository at this point in the history
  • Loading branch information
xenophenes committed Aug 13, 2018
1 parent 431de2e commit 2b6da0c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# if [[ $(git status -s) ]]
# then
# echo "The working directory is dirty. Please commit any pending changes."
# exit 1;
# fi
if [[ $(git status -s) ]]
then
echo "The working directory is dirty. Please commit any pending changes."
exit 1;
fi

echo "Moving to the Hugo subdirectory..."

# Navigate to directory containing Hugo files
cd ${CCPROOT?}/hugo/

Expand All @@ -29,6 +30,6 @@ hugo

# Add all changes and commit, push to GitHub
echo "Updating GitHub repository..."
# git add --all && git commit -m "Publishing documentation"
git add --all && git commit -m "Publishing documentation"

echo "Next Steps: Push your commits to your working repository and submit a pull request."

0 comments on commit 2b6da0c

Please sign in to comment.