mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Test direct GitHub Pages deployment
This commit is contained in:
parent
76a995e4ac
commit
b367f40525
7
.github/workflows/documentation.yml
vendored
7
.github/workflows/documentation.yml
vendored
@ -29,6 +29,7 @@ env:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
documentation:
|
||||
@ -86,12 +87,6 @@ jobs:
|
||||
mkdocs build --clean
|
||||
mkdocs --version
|
||||
|
||||
- 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 to GitHub Pages
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user