Skip to content

Commit d86bd65

Browse files
committed
Initial commit
1 parent 5ddc492 commit d86bd65

File tree

10 files changed

+29
-139
lines changed

10 files changed

+29
-139
lines changed

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[submodule "themes/hemingway2"]
22
path = themes/hemingway2
33
url = https://github.com/beli3ver/hemingway2.git
4+
[submodule "public"]
5+
path = public
6+
url = git@github.com:elixirscript/elixirscript.github.io.git
7+
branch = master

config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
languageCode = "en-us"
22
title = "Elixirscript"
33
baseurl = "http://elixirscript.github.io"
4-
publishDir = "docs"
54
theme = "hemingway2"
65
description = "Elixirscript News"
76

deploy.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"
4+
5+
# Build the project.
6+
hugo # if using a theme, replace by `hugo -t <yourtheme>`
7+
8+
# Go To Public folder
9+
cd public
10+
# Add changes to git.
11+
git add -A
12+
13+
# Commit changes.
14+
msg="rebuilding site `date`"
15+
if [ $# -eq 1 ]
16+
then msg="$1"
17+
fi
18+
git commit -m "$msg"
19+
20+
# Push source and build repos.
21+
git push origin master
22+
23+
# Come Back
24+
cd ..

docs/404.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/css/style.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.html

Lines changed: 0 additions & 91 deletions
This file was deleted.

docs/index.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/page/1/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/sitemap.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

public

Submodule public added at d40501c

0 commit comments

Comments
 (0)