mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
ci: Fixed docs build (#11)
This commit is contained in:
committed by
SamuelScheit
parent
780b09aad6
commit
f016d0749f
14
.github/workflows/update-docs.yml
vendored
14
.github/workflows/update-docs.yml
vendored
@@ -1,5 +1,8 @@
|
||||
name: Update Docs
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -31,11 +34,10 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: yarn run build:all
|
||||
|
||||
|
||||
- name: Publish to Pages
|
||||
uses: crazy-max/ghaction-github-pages@v2
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
target_branch: gh-pages
|
||||
build_dir: docs
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_branch: gh-pages
|
||||
publish_dir: ./docs
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user