Fix small bug that mistakenly showed data error for certain concepts #306
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Pages | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/build | |
- name: Adjust folder structure for GitHub Pages deployment | |
run: | | |
mv dist cocoda | |
mkdir dist-docs | |
cp docs/index.md dist-docs/ | |
cp -R cocoda dist-docs/dev | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist-docs | |
enable_jekyll: true |