File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Documentation
2+
3+ on :
4+ push :
5+ paths :
6+ - " docs/**"
7+ pull_request :
8+ paths :
9+ - " docs/**"
10+ release :
11+ types : [created]
12+ schedule :
13+ -
14+ cron : " 0 1 * * 6" # Run at 1am every Saturday
15+
16+ jobs :
17+ tests :
18+ runs-on : ubuntu-latest
19+ name : " Build"
20+ steps :
21+ -
22+ uses : actions/checkout@v2
23+
24+ -
25+ name : Install documentation dependencies
26+ run : docker build -t sylius-docs docs
27+
28+ -
29+ name : Build the documentation
30+ run : docker run -it --rm sylius-docs
Original file line number Diff line number Diff line change 2929 -
3030 php : 7.3
3131 env :
32- - SYLIUS_SUITE="docs packages"
32+ - SYLIUS_SUITE="packages"
3333 - SYMFONY_VERSION="4.4.*"
3434 services :
35- - docker
3635 - mysql
3736 addons :
3837 apt :
Original file line number Diff line number Diff line change 66
77sphinx-build -nWT . build || code=$?
88# Flags used here
9- # -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
10- # -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.
11- # -T Displays the full stack trace if an unhandled exception occurs.
9+ # -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
10+ # -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.
11+ # -T Displays the full stack trace if an unhandled exception occurs.
1212
1313if [[ ${code} != 0 ]]; then
1414 (>&2 echo " Build failed, rerunning to show all the warnings and errors" )
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments