aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/doc.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/doc.yml')
-rw-r--r--.github/workflows/doc.yml30
1 files changed, 0 insertions, 30 deletions
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
deleted file mode 100644
index d588468..0000000
--- a/.github/workflows/doc.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: Pages
-
-on:
- push:
- branches:
- - master
- workflow_dispatch:
-
-permissions:
- contents: write
-
-jobs:
- pages:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout sources
- uses: actions/checkout@v4
- - name: Build documentation
- run: cargo doc --verbose --no-deps
- - name: Write CNAME file
- run: echo 'iced-dialog.pml68.dev' > ./target/doc/CNAME
- - name: Copy redirect file as index.html
- run: cp docs/redirect.html target/doc/index.html
- - name: Deploy documentation
- if: github.ref == 'refs/heads/master'
- uses: peaceiris/actions-gh-pages@v4
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./target/doc
- force_orphan: true