aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-03-31 11:25:59 +0200
committerpml68 <contact@pml68.dev>2025-03-31 11:25:59 +0200
commitadeef1d1a2efd793b617693e777ad8825fab7e58 (patch)
tree84bf2cec6b5bfe23c347dc24c49e36ad175048c9 /.github/workflows
parentrefactor: remove unnecessary "advanced" feature from iced_widget dependency (diff)
downloadiced_dialog-adeef1d1a2efd793b617693e777ad8825fab7e58.tar.gz
feat: add docs workflow
Diffstat (limited to '')
-rw-r--r--.github/workflows/doc.yml23
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