Skip to content

docs: add site for hosting docs on github pages #6

docs: add site for hosting docs on github pages

docs: add site for hosting docs on github pages #6

# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "docs"
on:
pull_request:
# Sync with github_actions_preview.yml on.pull_request.paths
paths-ignore:
- 'docs/**'
- 'github/workflows/docs**'
- '.hugo'
jobs:
# This workflow defines fallback handling for required 'deploy' check.
# The Preview/deploy workflow only runs if configured files are modified.
# Required checks verify the job name, not the workflow name. This workflow
# defines a no-op check so PRs without build impact will be passed.
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
preview:
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'