File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11vendor
22_site
33Gemfile.lock
4+ node_modules
5+ public
6+ resources
Original file line number Diff line number Diff line change 11title = " Elekto"
22baseURL = " https://elekto.io"
33disableKinds = [" taxonomy" , " taxonomyTerm" ]
4+ publishDir = " docs"
45
56enableRobotsTXT = true
67
Original file line number Diff line number Diff line change 5757{{% /blocks/lead %}}
5858
5959{{< blocks /section color="dark" > }}
60- {{% blocks/feature icon="fa-lightbulb " title="Join us on Slack!" %}}
60+ {{% blocks/feature icon="fab fa-slack " title="Join us on Slack!" %}}
6161The Goldydocs UI now shows chair size metrics by default.
6262
6363Please follow this space for updates!
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414#
15- rm -rf public/
16- HUGO_ENV=" production" hugo --gc || exit 1
17- s3deploy -source=public/ -region=eu-west-1 -bucket=bep.is -distribution-id=E8OKNT7W9ZYZ2 -path temp/td
15+
16+ set -e # If a command fails then the deploy stops
17+ printf " \033[0;32mDeploying updates to GitHub...\033[0m\n"
18+
19+ if [ " ` git status -s` " ]
20+ then
21+ echo " The working directory is dirty. Please commit any pending changes."
22+ exit 1;
23+ fi
24+
25+ echo " Deleting old publication"
26+ rm -rf docs
27+ mkdir docs
28+ git worktree prune
29+ rm -rf .git/worktrees/docs/
30+
31+ echo " Generating site"
32+ hugo
33+ echo " elekto.io" > docs/CNAME
34+
35+ echo " Updating gh-pages branch"
36+ git add docs && git commit -m " Publishing to github (deploy.sh)"
37+
38+ echo " Pushing to github"
39+ git push --all
You can’t perform that action at this time.
0 commit comments