Skip to content

Commit

Permalink
use specialized docs artifact generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 14, 2024
1 parent 670b663 commit 3a6039c
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,26 @@ jobs:
- name: build docs
run: docker run -v $PWD:/code tbd_docs

- name: upload html
uses: actions/upload-artifact@v4
# - name: upload html
# uses: actions/upload-artifact@v4
# with:
# name: html_docs
# path: |
# build/docs/html/**/*.html
# build/docs/html/**/*.js
# build/docs/html/**/*.css
# build/docs/html/**/*.jpe?g
# build/docs/html/**/*.png
# build/docs/html/**/*.woff2
# build/docs/html/**/*.ttf
# build/docs/html/.nojekyll
# overwrite: true

- name: upload static web content
id: deployment
uses: actions/upload-pages-artifact@v3
with:
name: html_docs
path: |
build/docs/html/**/*.html
build/docs/html/**/*.js
build/docs/html/**/*.css
build/docs/html/**/*.jpe?g
build/docs/html/**/*.png
build/docs/html/**/*.woff2
build/docs/html/**/*.ttf
build/docs/html/.nojekyll
overwrite: true
path: build/docs/html/

deploy:
needs: build
Expand All @@ -49,5 +55,5 @@ jobs:
- name: deploy docs
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: html_docs
# with:
# artifact_name: html_docs

0 comments on commit 3a6039c

Please sign in to comment.