Adding the third chapter and editing the files #15
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: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Quarto | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| # Рендерим профили в точном порядке: первым es (чисто), последним us (--no-clean) | |
| - name: Render profiles | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| quarto render --profile es | |
| quarto render --profile ru --no-clean | |
| quarto render --profile gb --no-clean | |
| quarto render --profile sa --no-clean | |
| quarto render --profile in --no-clean | |
| quarto render --profile fr --no-clean | |
| quarto render --profile br --no-clean | |
| quarto render --profile de --no-clean | |
| quarto render --profile cn --no-clean | |
| quarto render --profile bd --no-clean | |
| quarto render --profile la --no-clean | |
| quarto render --profile mx --no-clean | |
| quarto render --profile ir --no-clean | |
| quarto render --profile id --no-clean | |
| quarto render --profile it --no-clean | |
| quarto render --profile jp --no-clean | |
| quarto render --profile kr --no-clean | |
| quarto render --profile pl --no-clean | |
| quarto render --profile pt --no-clean | |
| quarto render --profile ke --no-clean | |
| quarto render --profile th --no-clean | |
| quarto render --profile tr --no-clean | |
| quarto render --profile ua --no-clean | |
| quarto render --profile vn --no-clean | |
| quarto render --profile hk --no-clean | |
| quarto render --profile tw --no-clean | |
| quarto render --profile us --no-clean | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: _site | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - id: deployment | |
| uses: actions/deploy-pages@v4 |