Deploy to gh-pages using Travis CI

This commit is contained in:
Ushitora Anqou 2020-03-25 17:31:24 +09:00
parent dc19d97833
commit 3bd727ad50
2 changed files with 20 additions and 0 deletions

17
.travis.yml Normal file
View File

@ -0,0 +1,17 @@
language: ruby
branches:
only:
- master
script:
- git clone https://github.com/asciidoctor/asciidoctor.git
- cd asciidoctor
- bundle install
- cd ..
- pwd
- mkdir build
- asciidoctor/bin/asciidoctor main.asciidoc -o build/index.html
deploy:
provider: pages:git
token: $GITHUB_TOKEN
edge: true
local_dir: build/

View File

@ -1,9 +1,12 @@
# 自作ISAのためのLLVMバックエンドを書く薄い本予定 # 自作ISAのためのLLVMバックエンドを書く薄い本予定
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a> <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a>
[![Build Status](https://travis-ci.org/ushitora-anqou/write-your-llvm-backend.svg?branch=master)](https://travis-ci.org/ushitora-anqou/write-your-llvm-backend)
別に売る気はない。鋭意執筆中。 別に売る気はない。鋭意執筆中。
[ここからmasterが読めます。](https://ushitora-anqou.github.io/write-your-llvm-backend/)
## Author ## Author
[艮 鮟鱇(うしとら あんこうUshitora Anqou](https://anqou.net/) [艮 鮟鱇(うしとら あんこうUshitora Anqou](https://anqou.net/)