mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-24 06:51:39 +00:00
Add docs.html to gh-page
This commit is contained in:
0
docs.html → .github/docs.html
vendored
0
docs.html → .github/docs.html
vendored
3
.github/generate-website.js
vendored
3
.github/generate-website.js
vendored
@@ -9,6 +9,9 @@ fs.ensureDirSync('docs/imgs');
|
|||||||
if (fs.existsSync('imgs')) {
|
if (fs.existsSync('imgs')) {
|
||||||
fs.copySync('imgs', 'docs/imgs');
|
fs.copySync('imgs', 'docs/imgs');
|
||||||
}
|
}
|
||||||
|
if (fs.existsSync('.github/docs.html')) {
|
||||||
|
fs.copySync('.github/docs.html', 'docs/docs.html');
|
||||||
|
}
|
||||||
|
|
||||||
const readmeContent = fs.readFileSync('README.md', 'utf8');
|
const readmeContent = fs.readFileSync('README.md', 'utf8');
|
||||||
|
|
||||||
|
|||||||
3
.github/workflows/generate-website.yml
vendored
3
.github/workflows/generate-website.yml
vendored
@@ -2,10 +2,13 @@ name: Generate Website from README
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
- '.github/workflows/generate-website.yml'
|
- '.github/workflows/generate-website.yml'
|
||||||
- '.github/generate-website.js'
|
- '.github/generate-website.js'
|
||||||
|
- '.github/docs.html'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user