File tree Expand file tree Collapse file tree 4 files changed +41
-5
lines changed
Expand file tree Collapse file tree 4 files changed +41
-5
lines changed Original file line number Diff line number Diff line change 1+ docs /** linguist-documentation
2+ docs.ps1 linguist-vendored
3+ build.ps1 linguist-vendored
Original file line number Diff line number Diff line change 2020 timeout-minutes : 5
2121 steps :
2222 - name : " Zensical Action"
23- uses : cssnr/zensical-action@v1
23+ uses : cssnr/zensical-action@scripts
2424 with :
2525 upload : " artifact"
26+ prepare : ' sed "s/>Zensical</>Zensical ${ZENSICAL_VERSION}</" test'
2627
2728 deploy :
2829 name : " Deploy"
Original file line number Diff line number Diff line change 1+ param (
2+ [switch ]$c ,
3+ [switch ]$b
4+ )
5+
6+ $ErrorActionPreference = " Stop"
7+
8+ write-output " Clean: $c "
9+ write-output " Build: $b "
10+
11+ if ($c ) {
12+ Write-Host - ForegroundColor Yellow " Cleaning Docs..."
13+ $site_dir = " .\site"
14+ if (Test-Path $site_dir ) {
15+ Write-Host - ForegroundColor Cyan " Removing: $site_dir "
16+ Remove-Item - Force - Recurse $site_dir
17+ }
18+ $cache_dir = " .\.cache"
19+ if (Test-Path $cache_dir ) {
20+ Write-Host - ForegroundColor Cyan " Removing: $cache_dir "
21+ Remove-Item - Force - Recurse $cache_dir
22+ }
23+ }
24+
25+ zensical -- version
26+
27+ if ($b ) {
28+ Write-Host - ForegroundColor Green " Building Docs..."
29+ zensical build
30+ } else {
31+ zensical serve
32+ }
Original file line number Diff line number Diff line change @@ -183,17 +183,17 @@ icon = "simple/python"
183183link = " https://actions-tools.cssnr.com/"
184184name = " Actions Tools"
185185[[project .extra .social ]]
186- icon = " simple/linux"
187- link = " https://cssnr.github.io/"
188- name = " Website"
189- [[project .extra .social ]]
190186icon = " fontawesome/brands/discord"
191187link = " https://discord.gg/wXy6m2X8wY"
192188name = " Discord"
193189[[project .extra .social ]]
194190icon = " simple/kofi"
195191link = " https://ko-fi.com/cssnr"
196192name = " Ko-fi"
193+ [[project .extra .social ]]
194+ icon = " fontawesome/solid/house-laptop"
195+ link = " https://cssnr.github.io/"
196+ name = " Website"
197197
198198[project .extra ]
199199generator = false
You can’t perform that action at this time.
0 commit comments