@@ -43,31 +43,31 @@ jobs:
43
43
env :
44
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
45
run : gh release upload $MDBOOK_TAG $MDBOOK_ASSET
46
- pages :
47
- name : GitHub Pages
48
- runs-on : ubuntu-latest
49
- steps :
50
- - uses : actions/checkout@master
51
- - name : Install Rust (rustup)
52
- run : rustup update stable --no-self-update && rustup default stable
53
- - name : Build book
54
- run : cargo run -- build guide
55
- - name : Deploy to GitHub
56
- env :
57
- GITHUB_DEPLOY_KEY : ${{ secrets.GITHUB_DEPLOY_KEY }}
58
- run : |
59
- touch guide/book/.nojekyll
60
- curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
61
- cd guide/book
62
- /tmp/deploy
63
- publish :
64
- name : Publish to crates.io
65
- runs-on : ubuntu-latest
66
- steps :
67
- - uses : actions/checkout@master
68
- - name : Install Rust (rustup)
69
- run : rustup update stable --no-self-update && rustup default stable
70
- - name : Publish
71
- env :
72
- CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
73
- run : cargo publish --no-verify
46
+ # pages:
47
+ # name: GitHub Pages
48
+ # runs-on: ubuntu-latest
49
+ # steps:
50
+ # - uses: actions/checkout@master
51
+ # - name: Install Rust (rustup)
52
+ # run: rustup update stable --no-self-update && rustup default stable
53
+ # - name: Build book
54
+ # run: cargo run -- build guide
55
+ # - name: Deploy to GitHub
56
+ # env:
57
+ # GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
58
+ # run: |
59
+ # touch guide/book/.nojekyll
60
+ # curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
61
+ # cd guide/book
62
+ # /tmp/deploy
63
+ # publish:
64
+ # name: Publish to crates.io
65
+ # runs-on: ubuntu-latest
66
+ # steps:
67
+ # - uses: actions/checkout@master
68
+ # - name: Install Rust (rustup)
69
+ # run: rustup update stable --no-self-update && rustup default stable
70
+ # - name: Publish
71
+ # env:
72
+ # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
73
+ # run: cargo publish --no-verify
0 commit comments