Skip to content

Commit 27d19a7

Browse files
committed
Revert "Publish."
This reverts commit 502bec0.
1 parent 502bec0 commit 27d19a7

File tree

235 files changed

+43052
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+43052
-1
lines changed

deploy-v2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
git checkout master
88

99
# Build new files
10-
cd docs
10+
cd mysite
1111
stack exec docs clean
1212
stack exec docs build
1313
cd ..

deploy.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Temporarily store uncommited changes
2+
git stash
3+
4+
# Verify correct branch
5+
git checkout hakyll-develop
6+
7+
# Build new files
8+
stack exec mysite clean
9+
stack exec mysite build
10+
11+
# Get previous files
12+
git fetch --all
13+
git checkout -b hakyll-experiments --track origin/hakyll-experiments
14+
15+
# Overwrite existing files with new files
16+
cp -a _site/. .
17+
18+
# Commit
19+
git add -A
20+
git commit -m "Publish."
21+
22+
# Push
23+
git push origin hakyll-experiments:hakyll-experiments
24+
25+
# Restoration
26+
git checkout hakyll-develop
27+
git branch -D hakyll-experiments
28+
git stash pop

docs/.ghci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:set -XOverloadedStrings
2+
import Hakyll

docs/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Created by https://www.gitignore.io/api/haskell
2+
3+
### Haskell ###
4+
dist
5+
cabal-dev
6+
*.o
7+
*.hi
8+
*.chi
9+
*.chs.h
10+
*.dyn_o
11+
*.dyn_hi
12+
.hpc
13+
.hsenv
14+
.cabal-sandbox/
15+
cabal.sandbox.config
16+
*.prof
17+
*.aux
18+
*.hp
19+
.stack-work/
20+
_cache/
21+
_site/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)