Skip to content

Commit

Permalink
gh action auto doc deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenGar committed Feb 26, 2024
1 parent 6548984 commit ed98898
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docs

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build jagua-rs docs
run: |
cd jagua-rs
cargo doc --all
- name: deploy docs
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.DOCS_PAT }}
branch: gh-pages
folder: jagua-rs/target/doc
clean: true
repository-name: JeroenGar/jagua-rs-docs
commit-message: "auto update docs"
single-commit: true

0 comments on commit ed98898

Please sign in to comment.