File tree Expand file tree Collapse file tree 3 files changed +32
-50
lines changed Expand file tree Collapse file tree 3 files changed +32
-50
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - src
7
+ schedule :
8
+ # Once a day at 9am run the build
9
+ - cron : ' 0 9 * * *'
10
+
11
+ jobs :
12
+ publish :
13
+ name : Publish
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@master
17
+ - uses : actions/setup-ruby@v1
18
+ with :
19
+ ruby-version : ' 2.x'
20
+ - name : Install Rust
21
+ run : rustup update stable && rustup default stable
22
+ - run : gem install bundler -v 1.16.5 && bundle install --retry=3 --jobs=4
23
+ - run : cargo install mdbook --version 0.2.3
24
+ - run : ./ci/build.sh
25
+
26
+ - name : Push to gh-pages
27
+ run : |
28
+ cd _site
29
+ git init
30
+ git add .
31
+ git -c user.name='ci' -c user.email='ci' commit -m init
32
+ git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:master
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments