fix doxygen sudo permission (#239)

This commit is contained in:
sunxyw 2023-01-04 16:54:46 +08:00 committed by GitHub
parent 4b2af374f5
commit 25fa833495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ if ($param === 'before') {
exec('rm -rf docs/.vuepress/public/doxy');
// 授予目录权限doxy/html
exec('chmod -R 644 doxy/html');
exec('sudo chmod -R 644 doxy/html');
// 移动新文档到 docs 目录
exec('mv doxy/html docs/.vuepress/public/doxy');