Skip to content

Commit 4845a15

Browse files
build(deps): bump actions/upload-pages-artifact from 1 to 2 (#2248)
* Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 1 to 2. - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](actions/upload-pages-artifact@v1...v2) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 64346a8 commit 4845a15

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,14 @@ jobs:
8181
# is not empty
8282
[ "$(ls -A docs/_build/html/lite)" ]
8383
84+
- name: Fix permissions if needed
85+
run: |
86+
chmod -c -R +rX "docs/_build/html/" | while read line; do
87+
echo "::warning title=Invalid file permissions automatically fixed::$line"
88+
done
89+
8490
- name: Upload artifact
85-
uses: actions/upload-pages-artifact@v1
91+
uses: actions/upload-pages-artifact@v2
8692
with:
8793
path: 'docs/_build/html'
8894

0 commit comments

Comments
 (0)