Skip to content

Commit

Permalink
mkdocs deploy added other method doesnt present images
Browse files Browse the repository at this point in the history
  • Loading branch information
ucoruh committed May 25, 2023
1 parent 593721e commit 49ffe3c
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build_check_ubuntu_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Check Unit Test Coverage %100
runs-on: windows-latest
permissions:
contents: read
contents: write
issues: read
checks: write
pull-requests: write
Expand Down Expand Up @@ -289,9 +289,20 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.NET_CORE_TEMPLATE_TOKEN }}

# https://github.com/peaceiris/actions-gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3

- uses: actions/cache@v3
with:
github_token: ${{ secrets.NET_CORE_TEMPLATE_TOKEN }}
publish_dir: ./site
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force


# https://github.com/peaceiris/actions-gh-pages
#- name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.NET_CORE_TEMPLATE_TOKEN }}
# publish_dir: ./site

0 comments on commit 49ffe3c

Please sign in to comment.