Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
arvyy committed May 11, 2024
1 parent 9042754 commit d68dd38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
sudo apt-get -y install asciidoctor
- name: 'Build docs'
run: |
cd docs;
asciidoctor *.adoc;
cd site;
cd docs/site
bash copycontent.sh;
hugo;
- uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions docs/site/copycontent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
cd ..
for doc in *.adoc ; do
if [ -f docs/content/_frontmatter/$doc ]; then
cat docs/content/_frontmatter/$doc > docs/content/$doc
cat $doc >> docs/content/$doc
cat site/content/_frontmatter/$doc > site/content/$doc
cat $doc >> site/content/$doc
fi
done

0 comments on commit d68dd38

Please sign in to comment.