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
GitHub
parent
6f007a63aa
commit
e3f830f283
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 }}
|
||||
@@ -36,7 +36,7 @@
|
||||
"@hapi/boom": "^9.1.3",
|
||||
"axios": "^1.3.3",
|
||||
"futoin-hkdf": "^1.5.1",
|
||||
"libsignal": "git+https://github.com/adiwajshing/libsignal-node",
|
||||
"libsignal": "https://github.com/adiwajshing/libsignal-node.git",
|
||||
"music-metadata": "^7.12.3",
|
||||
"node-cache": "^5.1.2",
|
||||
"pino": "^7.0.0",
|
||||
@@ -73,7 +73,7 @@
|
||||
"WASignalGroup/*.js"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@adiwajshing/eslint-config": "git+https://github.com/adiwajshing/eslint-config",
|
||||
"@adiwajshing/eslint-config": "https://github.com/adiwajshing/eslint-config.git",
|
||||
"@adiwajshing/keyed-db": "^0.2.4",
|
||||
"@types/got": "^9.6.11",
|
||||
"@types/jest": "^27.5.1",
|
||||
|
||||
Reference in New Issue
Block a user