Skip to content

Commit

Permalink
feat: updating ci
Browse files Browse the repository at this point in the history
  • Loading branch information
HinsonSIDAN committed Jun 27, 2024
1 parent 99da28e commit a9622e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ jobs:
run: |
yarn install
yarn rust:doc
cp -r packages/target .
echo "<meta http-equiv=\"refresh\" content=\"0; url=sidan_csl_rs\">" > 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
Expand All @@ -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
Expand Down

0 comments on commit a9622e0

Please sign in to comment.