Skip to content

erikxiv/techdocs-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Build TechDocs action

This action builds TechDocs out of markdown for use in the Backstage developer portal. See Creating and Publishing for instructions on the input format of documentation. This action will produce HTML output into the site folder that can for example be published on Github Pages.

Example usage

The example below checks out the repository (including your documentation), generates TechDocs and then publishes these to Github Pages.

on: [push]

jobs:
  build_techdocs_job:
    runs-on: ubuntu-latest
    name: A job to build TechDocs
    steps:
    - name: Checkout main
      uses: actions/checkout@v1
    - name: Build TechDocs
      uses: erikxiv/techdocs-action@v1
    - name: Deploy to GitHub Pages
      uses: crazy-max/ghaction-github-pages@v2
      with:
        target_branch: gh-pages
        build_dir: site
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

Build backstage techdocs to Github pages

Resources

Stars

Watchers

Forks

Packages

No packages published