Skip to content

Commit

Permalink
fix: publish docs workflow cname and steps
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinkys committed Jun 11, 2024
1 parent 8fc62e0 commit dc0b99c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
contents: write

jobs:
publish-docs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
Expand All @@ -32,3 +32,24 @@ jobs:
- name: Publish the documentation
run: |
mkdocs gh-deploy --force --message "cd: deploy docs from {sha}"
publish-docs:
runs-on: ubuntu-latest
needs: build-docs
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages

- name: Setup pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "."

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
File renamed without changes.

0 comments on commit dc0b99c

Please sign in to comment.