feat(channels): Kubernetes channels for deployments, pods and service… #96
This file contains hidden or 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: deploy docs | |
on: | |
push: | |
paths: | |
- 'website/**' | |
- 'docs/**' | |
- 'CONTRIBUTING.md' | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Build Docusaurus to gh-pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup node env | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: "website/.nvmrc" | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 10 | |
run_install: false | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
working-directory: website | |
- name: Build website | |
run: pnpm run build | |
working-directory: website | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: website/build | |
user_name: github-actions[bot] | |
user_email: github-actions[bot]@users.noreply.github.com |