Skip to content

Commit 3b2bc42

Browse files
committed
Remove deploy CI, docs.rs works well
1 parent 98b7dd4 commit 3b2bc42

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -290,50 +290,6 @@ jobs:
290290
- name: Run miri
291291
run: MIRIFLAGS=-Zmiri-ignore-leaks cargo miri test
292292

293-
# Only runs when pushing to master branch
294-
deploy:
295-
name: deploy
296-
runs-on: ubuntu-20.04
297-
needs:
298-
- style
299-
- check
300-
- testcpass
301-
- testtsan
302-
- testcfail
303-
# Only run this when pushing to master branch
304-
if: github.ref == 'refs/heads/master'
305-
steps:
306-
- uses: actions/checkout@v2
307-
308-
- name: Set up Python 3.x
309-
uses: actions/setup-python@v2
310-
with:
311-
# Semantic version range syntax or exact version of a Python version
312-
python-version: '3.x'
313-
# Optional - x64 or x86 architecture, defaults to x64
314-
architecture: 'x64'
315-
316-
# You can test your matrix by printing the current Python version
317-
- name: Display Python version
318-
run: python -c "import sys; print(sys.version)"
319-
320-
- name: mdBook Action
321-
uses: peaceiris/[email protected]
322-
with:
323-
mdbook-version: 'latest'
324-
325-
- name: Remove cargo-config
326-
run: rm -f .cargo/config
327-
328-
- name: Build docs
329-
run: cargo doc
330-
331-
- name: Deploy to GH-pages
332-
uses: peaceiris/actions-gh-pages@v3
333-
with:
334-
github_token: ${{ secrets.GITHUB_TOKEN }}
335-
publish_dir: ./target/doc
336-
337293
# Refs: https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
338294
#
339295
# ALL THE PREVIOUS JOBS NEEDS TO BE ADDED TO THE `needs` SECTION OF THIS JOB!

0 commit comments

Comments
 (0)