documentation in CI: remove lock file (#11507)

# Objective

- Try to fix deploying docs in CI
- Alternative to https://github.com/bevyengine/bevy/pull/11502

## Solution

- The only issue I could find is the lock file with invalid permissions,
try to remove it
- upload action was doing permissions cleanup in v1, that was removed in
v2. we're now using v3
This commit is contained in:
François 2024-01-24 18:28:29 +01:00 committed by GitHub
parent 99449931d2
commit 143066de63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,7 @@ jobs:
echo "<meta http-equiv=\"refresh\" content=\"0; url=bevy/index.html\">" > target/doc/index.html
echo "dev-docs.bevyengine.org" > target/doc/CNAME
echo "User-Agent: *\nDisallow: /" > target/doc/robots.txt
rm target/doc/.lock
- name: Upload site artifact
uses: actions/upload-pages-artifact@v3