Skip to content

Merge pull request #83 from ymorin-orange/yem/its-info-ror #49

Merge pull request #83 from ymorin-orange/yem/its-info-ror

Merge pull request #83 from ymorin-orange/yem/its-info-ror #49

Workflow file for this run

name: Doc
on:
push:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
publish_docs:
name: Publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Rust documentation
run: |
cd rust
cargo doc --no-deps
- name: Publish Rust documentation
run: |
cd rust/target/doc
git init
git add .
git -c user.name='tigroo' -c user.email='[email protected]' 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'