From ba02065bcc9c0e658144bbd134a5495f00f50f33 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Wed, 9 Nov 2022 19:00:23 -0600 Subject: [PATCH] Add rustdocs index --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 597f0abced0..4e8cb8e7980 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,6 +108,10 @@ jobs: uses: actions-rs/cargo@v1 with: command: documentation + - name: Write index.html + run: echo '' >target/doc/index.html + - name: Write _redirects + run: echo '/ /rome/index.html' >target/doc/_redirects - name: Deploy documentation run: | netlify deploy --dir=./target/doc --prod --site rustdocs-rometools --auth ${{ secrets.NETLIFY_AUTH_TOKEN }}