Skip to content

Commit

Permalink
Merge pull request rust-lang#304 from joshtriplett/drop-publish-docs
Browse files Browse the repository at this point in the history
Drop CI step to publish documentation; docs live on docs.rs now
  • Loading branch information
joshtriplett authored May 28, 2022
2 parents 7ba55eb + 3bf8c04 commit ba39d44
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,3 @@ jobs:
- name: Install Rust
run: rustup update stable && rustup default stable && rustup target add ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }}

publish_docs:
name: Publish Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Build documentation
run: cargo doc --no-deps --all-features
- name: Publish documentation
run: |
cd target/doc
git init
git add .
git -c user.name='ci' -c user.email='ci' commit -m init
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'

0 comments on commit ba39d44

Please sign in to comment.