Skip to content

Commit

Permalink
repo: Add docs CI
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax committed Aug 1, 2024
1 parent afeb9d1 commit 7d589fc
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Docs

permissions:
contents: read

on:
pull_request:
push:
branches:
- main


jobs:
docs:
runs-on: envoy-x64-small
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: envoyproxy/envoy
path: envoy
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: examples
- run: |
TARGET_COMMIT=$(git rev-parse HEAD)
echo "TARGET_COMMIT=${TARGET_COMMIT}" >> "$GITHUB_ENV"
working-directory: examples
- run: |
echo "Updating example commit: ${TARGET_COMMIT}"
working-directory: envoy
- run: |
bazel build --config=ci //docs
working-directory: envoy

0 comments on commit 7d589fc

Please sign in to comment.