Update deploy-docs.yml
This commit is contained in:
parent
e61d178147
commit
216fb548b4
8
.github/workflows/deploy-docs.yml
vendored
8
.github/workflows/deploy-docs.yml
vendored
@ -41,12 +41,16 @@ jobs:
|
||||
rm -rf ./docs
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=csflow/index.html\">" > target/doc/index.html
|
||||
cp -r target/doc ./docs
|
||||
- name: Fix permissions
|
||||
run: |
|
||||
chmod -c -R +rX "./docs/" | while read line; do
|
||||
echo "::warning title=Invalid file permissions automatically fixed::$line"
|
||||
done
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v4
|
||||
- name: Upload artifact
|
||||
- name: Upload pages artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
# Upload entire repository
|
||||
path: './docs'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
|
Loading…
x
Reference in New Issue
Block a user