Browse Source

Moved gh pages files to not interfere with stow

pull/2/head
Josh Wolfe 5 years ago
parent
commit
6f49b394ff
  1. 8
      .travis.yml
  2. 4
      .travis/build_site.sh
  3. 0
      .travis/faces.css
  4. 4
      .travis/generate-html.el
  5. 0
      .travis/install.el

8
.travis.yml

@ -2,9 +2,11 @@ branches: @@ -2,9 +2,11 @@ branches:
only:
- master
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq emacs
script: bash emacs/gh-pages/build_site.sh
- sudo sh -c 'echo "deb http://emacs.secretsauce.net unstable main" >> /etc/apt/sources.list'
- wget -q -O - http://emacs.secretsauce.net/key.gpg | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install -qq emacs-snapshot
script: bash .travis/build_site.sh
deploy:
provider: pages
skip_cleanup: true

4
emacs/gh-pages/build_site.sh → .travis/build_site.sh

@ -2,11 +2,11 @@ @@ -2,11 +2,11 @@
emacs --version
emacs --batch -f org-version --kill
cd emacs/gh-pages
cd .travis
emacs --script install.el
emacs --script generate-html.el
emacs --batch -f org-version --kill
cd ../../
cd ../
mkdir -p deploy
mv TODO.html deploy/todo.html
mv emacs/.emacs.d/README.html deploy/index.html

0
emacs/gh-pages/faces.css → .travis/faces.css

4
emacs/gh-pages/generate-html.el → .travis/generate-html.el

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
(do-nothing wolfe:disable-linum-mode)
(setq emacs-dir
(expand-file-name "../.emacs.d/"
(expand-file-name "../emacs/.emacs.d/"
(file-name-directory load-file-name)))
(setq readme-src (concat emacs-dir "README.org"))
@ -40,5 +40,5 @@ @@ -40,5 +40,5 @@
(remove-hook 'org-export-before-processing-hook 'wolfe:org-inline-css-hook)
(message (export-target readme-src))
(cd "../../")
(cd "../")
(message (export-target "TODO.org"))

0
emacs/gh-pages/install.el → .travis/install.el

Loading…
Cancel
Save