Skip to content

Commit

Permalink
Update doc-publish.yml to fix file paths for GitHub Pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
KastTrifork committed Oct 31, 2024
1 parent c980d13 commit cae11d5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/doc-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,8 @@ jobs:

- name: create public/
run: |
mkdir -p public/
cp charts/${{ inputs.chart}}/README.md public/docs/${{inputs.chart}}
cp . public/
mkdir -p public/docs/${{ inputs.chart }}/
cp charts/${{ inputs.chart }}/README.md public/docs/${{ inputs.chart }}
cp README.md public/docs
- name: Deploy to GitHub Pages
Expand All @@ -114,7 +113,7 @@ jobs:
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public/
publish_dir: .
exclude_assets: "./public/docs"
commit_message: "Deploy README.md for repository"
keep_files: true
Expand Down

0 comments on commit cae11d5

Please sign in to comment.