@@ -190,7 +190,7 @@ jobs:
190190 submodules : true
191191
192192 - name : Build docs
193- run : make -C wikidocs -f __pandoc/Makefile all scribus-docs
193+ run : make -C wikidocs -f __pandoc/Makefile all scribus-docs adoc-docs
194194
195195 - name : Store PDF docs
196196 uses : actions/upload-artifact@v4
@@ -213,6 +213,14 @@ jobs:
213213 wikidocs/__pandoc/scribus/bwipp-gs1ai.html
214214 wikidocs/__pandoc/scribus/bwipp-options.html
215215
216+ - name : Store AsciiDoc docs
217+ uses : actions/upload-artifact@v4
218+ with :
219+ name : docs-adoc
220+ path : |
221+ wikidocs/__pandoc/adoc/bwipp-symbologies.adoc
222+ wikidocs/__pandoc/adoc/bwipp-options.adoc
223+
216224 release :
217225 if : startsWith(github.ref, 'refs/tags/')
218226
@@ -266,19 +274,26 @@ jobs:
266274 name : docs-scribus
267275 path : wikidocs/__pandoc/scribus
268276
269- - name : Deploy Scribus docs to gh-pages
277+ - name : Load AsciiDoc docs
278+ uses : actions/download-artifact@v4
279+ with :
280+ name : docs-adoc
281+ path : wikidocs/__pandoc/adoc
282+
283+ - name : Deploy Scribus and AsciiDoc docs to gh-pages
270284 run : |
271285 git config user.name "github-actions[bot]"
272286 git config user.email "github-actions[bot]@users.noreply.github.com"
273287 git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
274288 git fetch origin gh-pages
275289 git worktree add gh-pages-wt origin/gh-pages
276- mkdir -p gh-pages-wt/scribus
290+ mkdir -p gh-pages-wt/scribus gh-pages-wt/adoc
277291 cp wikidocs/__pandoc/scribus/bwipp-symbologies.html wikidocs/__pandoc/scribus/bwipp-gs1ai.html wikidocs/__pandoc/scribus/bwipp-options.html gh-pages-wt/scribus/
278- printf 'User-agent: *\nDisallow: /scribus/\n' > gh-pages-wt/robots.txt
292+ cp wikidocs/__pandoc/adoc/bwipp-symbologies.adoc wikidocs/__pandoc/adoc/bwipp-options.adoc gh-pages-wt/adoc/
293+ printf 'User-agent: *\nDisallow: /scribus/\nDisallow: /adoc/\n' > gh-pages-wt/robots.txt
279294 cd gh-pages-wt
280- git add scribus/ robots.txt
281- git diff --cached --quiet || git commit -m "Update Scribus docs for $VERSION"
295+ git add scribus/ adoc/ robots.txt
296+ git diff --cached --quiet || git commit -m "Update Scribus and AsciiDoc docs for $VERSION"
282297 git push origin HEAD:gh-pages
283298 cd ..
284299 git worktree remove gh-pages-wt
0 commit comments