mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
github: remove docs generation workflow
This commit is contained in:
44
.github/workflows/update-docs.yml
vendored
44
.github/workflows/update-docs.yml
vendored
@@ -1,44 +0,0 @@
|
||||
name: Update Docs
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
package-name: ${{ steps.packageInfo.outputs.package-name }}
|
||||
package-version: ${{ steps.packageInfo.outputs.package-version }}
|
||||
commit-msg: ${{ steps.packageInfo.outputs.commit-msg }}
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- name: Checkout Commit
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Parsing Package Info
|
||||
id: packageInfo
|
||||
run: |
|
||||
echo "::set-output name=package-name::$(jq -r .name package.json)"
|
||||
echo "::set-output name=package-version::$(jq -r .version package.json)"
|
||||
echo "::set-output name=commit-msg::$(git log -1 --pretty=%B)"
|
||||
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v2.1.1
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn
|
||||
|
||||
- name: Build
|
||||
run: yarn run build:all
|
||||
|
||||
- name: Publish to Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
publish_branch: gh-pages
|
||||
publish_dir: ./docs
|
||||
cname: baileys.whiskeysockets.io
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user