Merge pull request #172 from eldermoraes/master #117
This file contains hidden or 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: docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - .github/workflows/docs.yml | |
| - github-pages.yml | |
| - 'documentation/**' | |
| jobs: | |
| build-and-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout project | |
| uses: actions/checkout@v2 | |
| - name: Run antora | |
| uses: docker://antora/antora:2.3.1 | |
| with: | |
| args: github-pages.yml | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@releases/v3 | |
| with: | |
| GITHUB_TOKEN: "${{github.token}}" | |
| FOLDER: gh-pages | |
| BRANCH: gh-pages | |
| COMMIT_MESSAGE: "[docs] Publishing the docs for commit(s) ${{github.sha}}" |