You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
31 lines
695 B
YAML
31 lines
695 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- v4.0
|
|
|
|
jobs:
|
|
documentation:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v3
|
|
- name: Install Packages
|
|
run: npm ci
|
|
- name: Build tests tools
|
|
run: npm run build:tests-tools
|
|
- name: Generate Documentation
|
|
run: npm run documentation
|
|
- name: Upload
|
|
run: |
|
|
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
|
npm run gh-pages
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|