diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3ef10f..2c4de66 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,10 @@ jobs: uses: actions/checkout@v2 - name: build run: | - xvfb-run make V=2 -O -j$(nproc) jekyll + set -xe + echo "sourceurl: https://github.com/$GITHUB_REPOSITORY" >> _config.yml + cat _config.yml + env JEKYLL_ENV=production xvfb-run make V=2 -O -j$(nproc) jekyll - if: github.event_name == 'push' && github.ref == 'refs/heads/main' name: publish run: | diff --git a/_layouts/base.html b/_layouts/base.html index a30ce33..d150c17 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -43,6 +43,9 @@
This 3D printable project is offered under an open source license. +{% if site.sourceurl and site.sourceurl != "" %} + The source is managed at {{ site.sourceurl }}. +{% endif %} The site is built with software under various open source licenses. Create your own MySTL site with cookiecutter-mystl.