ci: Fixed docs build (#11)

This commit is contained in:
Edgard Lorraine Messias
2023-04-21 19:52:33 -03:00
committed by SamuelScheit
parent 780b09aad6
commit f016d0749f
3 changed files with 370 additions and 226 deletions

View File

@@ -1,5 +1,8 @@
name: Update Docs name: Update Docs
permissions:
contents: write
on: on:
push: push:
branches: branches:
@@ -31,11 +34,10 @@ jobs:
- name: Build - name: Build
run: yarn run build:all run: yarn run build:all
- name: Publish to Pages - name: Publish to Pages
uses: crazy-max/ghaction-github-pages@v2 uses: peaceiris/actions-gh-pages@v3
with: with:
target_branch: gh-pages publish_branch: gh-pages
build_dir: docs publish_dir: ./docs
env: github_token: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -37,7 +37,7 @@
"axios": "^1.3.3", "axios": "^1.3.3",
"futoin-hkdf": "^1.5.1", "futoin-hkdf": "^1.5.1",
"libphonenumber-js": "^1.10.20", "libphonenumber-js": "^1.10.20",
"libsignal": "git+https://github.com/adiwajshing/libsignal-node", "libsignal": "https://github.com/adiwajshing/libsignal-node.git",
"music-metadata": "^7.12.3", "music-metadata": "^7.12.3",
"node-cache": "^5.1.2", "node-cache": "^5.1.2",
"pino": "^7.0.0", "pino": "^7.0.0",
@@ -75,7 +75,7 @@
"WASignalGroup/*.js" "WASignalGroup/*.js"
], ],
"devDependencies": { "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", "@adiwajshing/keyed-db": "^0.2.4",
"@types/got": "^9.6.11", "@types/got": "^9.6.11",
"@types/jest": "^27.5.1", "@types/jest": "^27.5.1",

578
yarn.lock

File diff suppressed because it is too large Load Diff