mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-01-28 21:30:43 +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')) {
|
||||
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');
|
||||
|
||||
|
||||
3
.github/workflows/generate-website.yml
vendored
3
.github/workflows/generate-website.yml
vendored
@@ -2,10 +2,13 @@ name: Generate Website from README
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'README.md'
|
||||
- '.github/workflows/generate-website.yml'
|
||||
- '.github/generate-website.js'
|
||||
- '.github/docs.html'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user