From c8bf4c89b75f8c08e3895de10c9694f7c1e7996e Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 18 Jul 2023 11:17:18 +0200 Subject: [PATCH] ci: fix the docs files permissions --- .github/workflows/docs.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 74059c9a..a69e8123 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -62,6 +62,12 @@ jobs: - name: Move the Rust documentation within the mdBook run: mv target/doc target/book/rustdoc + - name: Fix permissions + run: | + chmod -c -R +rX "_site/" | while read line; do + echo "::warning title=Invalid file permissions automatically fixed::$line" + done + - name: Upload GitHub Pages artifacts uses: actions/upload-pages-artifact@v2.0.0 with: