Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunny0826/auto-docs-action


https://github.com/sunny0826/auto-docs-action

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Docusaurus Auto Actions

This action that automatically process documents of Docusaurus.

## Inputs

### `gh-page`

- [**Required**] - github page repo, must be the ssh address. eg: `[email protected]:sunny0826/pod-lens.github.io.git`

### `docs-path`
- path of docs dir. default: `docs`

## Example usage

```yaml
name: docs
on:
push:
paths:
- 'doc/**'
jobs:
gh-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Push to GitHub Repo
uses: sunny0826/auto-docs-action
env:
USE_SSH: true
GIT_USER: git
DEPLOYMENT_BRANCH: gh-pages
with:
gh-page: [email protected]:sunny0826/pod-lens.github.io.git
```