From a9622e0f516098cb63d41011497f538a7263b096 Mon Sep 17 00:00:00 2001 From: SIDANWhatever Date: Thu, 27 Jun 2024 22:43:03 +0800 Subject: [PATCH] feat: updating ci --- .github/workflows/static.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index cf9452b..36bd3b7 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -31,11 +31,13 @@ jobs: run: | yarn install yarn rust:doc + cp -r packages/target . + echo "" > target/doc/index.html - name: Force correct file permissions run: | - chmod -c +rX "packages/target/doc/.lock" & - chmod -c -R +rX "packages/target/doc" | + chmod -c +rX "target/doc/.lock" & + chmod -c -R +rX "target/doc" | while read line; do echo "::warning title=Invalid file permissions automatically fixed::$line" done @@ -44,7 +46,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Specify the path to the directory containing index.html - path: "packages/target/doc/sidan_csl_rs" + path: "/target/doc/sidan_csl_rs" - name: Deploy to GitHub Pages id: deployment