-
Notifications
You must be signed in to change notification settings - Fork 14
55 lines (43 loc) · 1.22 KB
/
Copy pathquartoexamples.yml
File metadata and controls
55 lines (43 loc) · 1.22 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
name: Examples
#on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
# Only run once the Testing action (pytest) has succeeded.
# Else do not render the Documentation.
on:
workflow_run:
workflows: ["Testing"]
branches: ["main"]
types:
- completed
jobs:
#build:
follow_up:
if: github.event.workflow_run.event == 'push' # Ensure it runs only on push events
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setting up Python
uses: actions/setup-python@v4
with:
python-version: '3.14' # Change to your preferred Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_devel.txt
pip install .
#- name: Execute preparation script
# run: |
# python make_docs/main.py # Generates qmd files
- name: Install Quarto
run: |
wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.37/quarto-1.5.37-linux-amd64.deb -O quarto.deb # pre-release version!
sudo dpkg -i quarto.deb
- name: Render Quarto documents
run: |
make examples