Ревизиране на Коригиращи документи при продажба #1059
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: Build and Deploy | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2.3.1 | |
| - name: Build | |
| uses: ammaraskar/sphinx-action@master | |
| with: | |
| docs-folder: . | |
| pre-build-command: | | |
| pip install rinohtype | |
| cp _static/__init__.py /usr/local/lib/python3.8/site-packages/rinoh/language | |
| cp _static/bg.py /usr/local/lib/python3.8/site-packages/rinoh/language | |
| build-command: "make html rinoh" | |
| - name: Deploy HTML | |
| uses: JamesIves/github-pages-deploy-action@3.7.1 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: _build/html | |
| SINGLE_COMMIT: true | |
| - name: Deploy PDF | |
| uses: JamesIves/github-pages-deploy-action@3.7.1 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: pdfs | |
| FOLDER: _build/rinoh | |
| SINGLE_COMMIT: true |