aboutsummaryrefslogtreecommitdiff
path: root/.builds/doc.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/doc.yml')
-rw-r--r--.builds/doc.yml24
1 files changed, 0 insertions, 24 deletions
diff --git a/.builds/doc.yml b/.builds/doc.yml
deleted file mode 100644
index e30afc8..0000000
--- a/.builds/doc.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-image: alpine/edge
-oauth: pages.sr.ht/PAGES:RW
-packages:
- - cargo
- - hut
-environment:
- site: iced-selection.pml68.dev
- RUSTDOCFLAGS: "--cfg docsrs"
-tasks:
- - build-docs: |
- cd iced_selection
- cargo doc --verbose --no-deps --all-features -p iced_selection
- - copy-redirect: |
- cd iced_selection
- cp docs/redirect.html target/doc/index.html
- - package: |
- cd iced_selection
- tar -C target/doc -cvz . > site.tar.gz
- - upload: |
- cd iced_selection
- [ "$BUILD_SUBMITTER" = "git.sr.ht" ] || complete-build
- [ "$GIT_REF" = "refs/heads/master" ] || complete-build
- [ "$(git remote get-url origin)" = "https://git.sr.ht/~pml68/iced_selection" ] || complete-build
- hut pages publish -d $site site.tar.gz