Skip to content

sluongng/test website after toolchain up #1219

sluongng/test website after toolchain up

sluongng/test website after toolchain up #1219

Workflow file for this run

name: Build Website
on:
pull_request:
branches:
- master
paths:
- "docs/**"
- "website/**"
- "server/metrics/**"
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'website skip')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Website
run: |
API_KEY="${{ secrets.BUILDBUDDY_ORG_API_KEY }}"
API_KEY_ARGS=()
if [[ "$API_KEY" ]]; then
API_KEY_ARGS=("--remote_header=x-buildbuddy-api-key=$API_KEY")
fi
bazelisk build //website:website --config=ci "${API_KEY_ARGS[@]}"