mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
6ef8c78e06
The action triggers manually as a first step to test this functionality. In the near future, we might schedule it
21 lines
529 B
YAML
21 lines
529 B
YAML
name: PR -> Build Docs
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- website/**
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build docs
|
|
env:
|
|
UNLEASH_FEEDBACK_TARGET_URL: ${{ secrets.DOCS_FEEDBACK_TARGET_URL }}
|
|
UNLEASH_PROXY_CLIENT_KEY: ${{ secrets.UNLEASH_PROXY_CLIENT_KEY_DEVELOPMENT }}
|
|
UNLEASH_PROXY_URL: ${{ secrets.UNLEASH_PROXY_URL_DEVELOPMENT }}
|
|
run: |
|
|
# Build the site
|
|
cd website && yarn && yarn build
|