Skip to content

docsify-nightly

docsify-nightly #1461

Workflow file for this run

name: docsify-nightly
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '37 3 * * *'
jobs:
build:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ lts/* ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
git clone https://github.com/docsifyjs/docsify.git
cd docsify
npm ci --ignore-scripts
- name: Build docsify
run: |
cd docsify
npm run build
- name: Move files
run: |
cp -Rf docsify/dist ./
rm -rf docsify
git status
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: sy-records
commit_user_email: [email protected]
commit_message: Nightly release for docsify