mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-27 16:24:53 +00:00
Update generate-website.yml
This commit is contained in:
11
.github/workflows/generate-website.yml
vendored
11
.github/workflows/generate-website.yml
vendored
@@ -30,9 +30,10 @@ jobs:
|
|||||||
- name: Generate website from README
|
- name: Generate website from README
|
||||||
run: node .github/generate-website.js
|
run: node .github/generate-website.js
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to gh-pages
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
if: github.ref == 'refs/heads/main' # Ensure deployment only happens from main
|
||||||
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
folder: docs
|
publish_dir: ./docs
|
||||||
clean: true
|
publish_branch: gh-pages
|
||||||
|
|||||||
Reference in New Issue
Block a user