Merge pull request #1439 from cewert/fix-ghpages

This commit is contained in:
Charles Ewert 2023-10-27 08:13:21 -04:00 committed by GitHub
commit ac5395c100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,9 @@
name: deploy-api-docs name: deploy-api-docs
on: on:
# Runs on pushes targeting the default branch
push: push:
branches: ["unstable"] branches: ["unstable"]
paths: ["docs/**"] # only run if the docs are updated
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
@ -36,7 +36,7 @@ jobs:
uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2 uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2
with: with:
# Only upload the api docs folder # Only upload the api docs folder
path: "docs/api/*" path: "docs/api"
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # v2 uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # v2