File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 branches :
77 - main
88 paths :
9- - .github/ docs/**
9+ - docs/**
1010 - .github/zensical.toml
1111 - .github/workflows/Pages.yml
1212
@@ -43,11 +43,24 @@ jobs:
4343 run : pip install zensical
4444
4545 - name : Build Zensical project
46- run : zensical build --config-file .github/zensical.toml --clean
46+ shell : pwsh
47+ run : |
48+ Copy-Item .github/zensical.toml zensical.toml
49+ $zensicalExitCode = 0
50+ try {
51+ zensical build --clean
52+ $zensicalExitCode = $LASTEXITCODE
53+ }
54+ finally {
55+ Remove-Item zensical.toml
56+ }
57+ if ($zensicalExitCode -ne 0) {
58+ exit $zensicalExitCode
59+ }
4760
4861 - uses : actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
4962 with :
50- path : .github/ site
63+ path : site
5164
5265 - uses : actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
5366 id : deployment
File renamed without changes.
You can’t perform that action at this time.
0 commit comments