-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (60 loc) · 2.1 KB
/
build-and-deploy.yml
File metadata and controls
67 lines (60 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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