Fix version attribute #25
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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| AsciiDoc: | |
| runs-on: ubuntu-latest | |
| container: asciidoctor/docker-asciidoctor:latest | |
| steps: | |
| - name: Install rsync | |
| run: apk add rsync | |
| - uses: actions/checkout@v5 | |
| - name: Build | |
| run: | | |
| cd document | |
| make html | |
| make pdf | |
| - name: Prepare Deploy | |
| if: github.ref == 'refs/heads/master' | |
| run: echo "# This branch is for deployment only" >> document/output/README.md | |
| - name: Deploy | |
| if: github.ref == 'refs/heads/master' | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: document/output | |
| single-commit: true | |
| silent: true |