1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-22 09:31:10 +00:00

ci: delete upload doc workflow

This commit is contained in:
Rob Ede 2024-05-28 01:21:23 +01:00
parent 26efa64278
commit 3ce97effa2
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
2 changed files with 2 additions and 43 deletions

View file

@ -22,10 +22,10 @@ jobs:
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
- name: Install just,cargo-llvm-cov
uses: taiki-e/install-action@v2.33.34
with:
tool: cargo-llvm-cov
tool: just,cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --workspace --all-features --codecov --output-path codecov.json

View file

@ -1,41 +0,0 @@
name: Upload Documentation
on:
push:
branches: [master]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
with:
toolchain: nightly
- name: Build Docs
run: cargo +nightly doc --no-deps --workspace --all-features
env:
RUSTDOCFLAGS: --cfg=docsrs
- name: Tweak HTML
run: echo '<meta http-equiv="refresh" content="0;url=actix_web/index.html">' > target/doc/index.html
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
folder: target/doc
single-commit: true