Merge pull request #833 from apinnick/update-satellite-terms #92
This file contains 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
--- | |
# Copyright (c) 2021 Red Hat, Inc. | |
# This program and the accompanying materials are made | |
# available under the terms of the Eclipse Public License 2.0 | |
# which is available at https://www.eclipse.org/legal/epl-2.0/ | |
# | |
# SPDX-License-Identifier: EPL-2.0 | |
# | |
name: Publication build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publication-builder: | |
name: Build and publish to publication branch | |
runs-on: ubuntu-latest | |
container: quay.io/antoraformodulardocs/antora-for-modular-docs:main | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build using antora | |
run: tools/publication-builder.sh | |
- name: Commit artifact to publication branch | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
force_orphan: true # publish branch with only the latest commit | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: publication | |
publish_dir: build/vale-at-red-hat |