1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-18 01:43:58 +01: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: with:
components: llvm-tools-preview components: llvm-tools-preview
- name: Install cargo-llvm-cov - name: Install just,cargo-llvm-cov
uses: taiki-e/install-action@v2.33.34 uses: taiki-e/install-action@v2.33.34
with: with:
tool: cargo-llvm-cov tool: just,cargo-llvm-cov
- name: Generate code coverage - name: Generate code coverage
run: cargo llvm-cov --workspace --all-features --codecov --output-path codecov.json 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