Merge pull request #68 from biya-bi/documentation/workspaces/fix_gram… #91
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: Tekton Tutorial | |
on: | |
push: | |
paths: | |
- '**' | |
- '!.github/workflows/**' | |
- '.github/workflows/main.yml' | |
- '.github/workflows/site.yml' | |
env: | |
SITE_DIR: "gh-pages" | |
jobs: | |
buildAnDeploySite: | |
name: "Build site with Antora" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: "Generate site using antora site action" | |
uses: kameshsampath/[email protected] | |
with: | |
antora_playbook: site.yml | |
- name: Deploy Site | |
id: deploy_site | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: "${{ env.SITE_DIR }}" | |
publish_branch: "gh-pages" | |
full_commit_message: "[CI]${{ github.event.head_commit.message }}" | |