Browse Source

Moved gh pages files to not interfere with stow

master
Josh Wolfe 3 years ago
parent
commit
6f49b394ff
5 changed files with 9 additions and 7 deletions
  1. 5
    3
      .travis.yml
  2. 2
    2
      .travis/build_site.sh
  3. 0
    0
      .travis/faces.css
  4. 2
    2
      .travis/generate-html.el
  5. 0
    0
      .travis/install.el

+ 5
- 3
.travis.yml View File

@@ -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

emacs/gh-pages/build_site.sh → .travis/build_site.sh View File

@@ -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

emacs/gh-pages/faces.css → .travis/faces.css View File


emacs/gh-pages/generate-html.el → .travis/generate-html.el View File

@@ -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 @@
(remove-hook 'org-export-before-processing-hook 'wolfe:org-inline-css-hook)

(message (export-target readme-src))
(cd "../../")
(cd "../")
(message (export-target "TODO.org"))

emacs/gh-pages/install.el → .travis/install.el View File


Loading…
Cancel
Save