Merge pull request #899 from RedHatInsights/psav/upgrade_keycloak #528
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
--- | |
name: Submit docs | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'docs/**' | |
- '**/*.adoc' | |
jobs: | |
docs_build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
with: | |
ref: gh_pages | |
- uses: actions/setup-node@v2 | |
- name: Install packages and deps | |
run: | | |
npm install @antora/cli @antora/site-generator-default | |
./node_modules/.bin/antora playbook.yml | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add docs/* | |
git commit -m "Updated pages for $GITHUB_SHA" | |
git push |