Skip to content

Commit 99c6321

Browse files
committed
ci: enable releases
1 parent fc9fd78 commit 99c6321

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/deploy.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,31 @@ jobs:
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
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

Comments
 (0)