Build and Deploy to The New Documentation Site #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy to The New Documentation Site | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["master","main"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
id-token: write | |
# Allow one concurrent deployment | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build documentation site | |
uses: bcc-code/bcc-documentation-base@v5 | |
with: | |
title: BCC Developer Portal | |
description: Technical documentation and guides for software development in BCC | |
collapse-sidebar: true | |
auto-register-components: true | |
components-dir: .vuepress/components | |
branch: master | |
base: / |