Skip to content

feat(karpor): freeze karpor v0.6 documentation (#586) #855

feat(karpor): freeze karpor v0.6 documentation (#586)

feat(karpor): freeze karpor v0.6 documentation (#586) #855

Workflow file for this run

name: build-and-deploy
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- closed
jobs:
deploy:
if: (github.event_name == 'push') || github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- run: npm install
- run: npm run build
- name: Deploy
uses: peaceiris/[email protected]
with:
personal_token: ${{ secrets.KUSIONSTACK_BOT_TOKEN }}
external_repository: KusionStack/kusionstack.github.io
publish_dir: ./build
publish_branch: main
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'