Skip to content

CalPolySWIFT/docusaurus-deploy-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusaurus-deploy-action

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

Required input arguments:

  • git-user: git user name

Optional input arguments:

  • source-folder: folder with docusaurus documentation (defaults to 'website')
  • git-password: git password (defaults to secrets.GITHUB_TOKEN, which should work if it has default rights)
  • deployment-branch: git branch to publish to (defaults to gh-pages)

Secrets the action uses:

  • GITHUB_TOKEN

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@master
        with:
          source-folder: website
          git-user: $SOME_USERNAME
          git-password: ${{ secrets.GITHUB_TOKEN }}
          deployment-branch: gh-pages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 53.3%
  • Dockerfile 46.7%