File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 1010 strategy :
1111 matrix :
1212 os : [ubuntu-latest, macos-latest, windows-latest]
13- env :
14- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1513 steps :
1614 - uses : actions/checkout@master
1715 - name : Install hub
@@ -24,16 +22,24 @@ jobs:
2422 run : ci/install-rust.sh stable
2523 shell : bash
2624 - name : Build and deploy artifacts
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2727 run : ci/make-release.sh ${{ matrix.os }}
2828 shell : bash
2929 pages :
3030 name : GitHub Pages
3131 runs-on : ubuntu-latest
32- env :
33- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3432 steps :
3533 - uses : actions/checkout@master
3634 - name : Install Rust (rustup)
3735 run : rustup update stable --no-self-update && rustup default stable
38- - name : Deploy to GitHub Pages
39- run : ci/deploy-gh-pages.sh
36+ - name : Build book
37+ run : cargo run -- build book-example
38+ - name : Deploy to GitHub
39+ env :
40+ GITHUB_DEPLOY_KEY : ${{ secrets.GITHUB_DEPLOY_KEY }}
41+ run : |
42+ touch book-example/book/.nojekyll
43+ curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
44+ cd book-example/book
45+ /tmp/deploy
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments