redkubes / docusaurus-deploy-action

12 stars 3 forks source link
docusaurus-documentation workflow

docusaurus-deploy-action

Action for deploying docusaurus documentation (should work for v1 and v2).

Required input arguments:

Optional input arguments:

Secrets the action uses:

Environment variables the action uses: None

Example workflow: (GitHub workflow YAML syntax here.)

name: CI
on: [push]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: redkubes/docusaurus-deploy-action@v1
        with:
          source-folder: website
          git-user: $SOME_USERNAME
          git-password: ${{ secrets.GITHUB_TOKEN }}
          deployment-branch: gh-pages