Skip to content

Commit

Permalink
Disable docs jobs
Browse files Browse the repository at this point in the history
The project documentation will be replaced by an PDF manual. It is no
longer necessary to update the website.

Signed-off-by: Nico Wagner <[email protected]>
  • Loading branch information
nwagner84 committed Oct 28, 2024
1 parent 09de2ab commit ccf0880
Showing 1 changed file with 37 additions and 19 deletions.
56 changes: 37 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,43 @@ jobs:
- run: |
cargo miri test -p ${{ matrix.item.package }} ${{ matrix.item.flags }}
docs:
# docs:
# runs-on: ubuntu-latest
# permissions:
# contents: write
# needs:
# - audit
# - careful
# - check
# - clippy
# - cross
# - deny
# - fmt
# - fuzz
# - miri
# - outdated
# - test
# - udeps
# steps:
# - uses: actions/checkout@v4
# - uses: dtolnay/rust-toolchain@nightly
# - uses: Swatinem/rust-cache@v2
# - uses: peaceiris/actions-hugo@v2
# with:
# hugo-version: 'latest'
# extended: true
# - run: make docs
# - name: deploy
# uses: peaceiris/actions-gh-pages@v3
# if: ${{ github.ref == 'refs/heads/main' }}
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: target/docs
# keep_files: false
# force_orphan: true

ci:
runs-on: ubuntu-latest
permissions:
contents: write
needs:
- audit
- careful
Expand All @@ -227,19 +260,4 @@ jobs:
- test
- udeps
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- run: make docs
- name: deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/docs
keep_files: false
force_orphan: true
- run: exit 0

0 comments on commit ccf0880

Please sign in to comment.