diff options
| author | pml68 <contact@pml68.dev> | 2025-03-31 11:25:59 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-03-31 11:25:59 +0200 |
| commit | adeef1d1a2efd793b617693e777ad8825fab7e58 (patch) | |
| tree | 84bf2cec6b5bfe23c347dc24c49e36ad175048c9 /.github | |
| parent | refactor: remove unnecessary "advanced" feature from iced_widget dependency (diff) | |
| download | iced_dialog-adeef1d1a2efd793b617693e777ad8825fab7e58.tar.gz | |
feat: add docs workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/doc.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 0000000..3008d44 --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,23 @@ +name: Pages + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + pages: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + - name: Build documentation + run: cargo doc --verbose + - name: Deploy documentation + uses: peaceiris/actions-gh-pages@v4 + if: github.ref == 'refs/heads/master' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./target/doc + force_orphan: true |
