diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a1af9cf..728cc6c 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -4,7 +4,7 @@ on: workflow_run: workflows: ["Main-CI"] types: [completed] - branches: [main] + branches: [main, topic/doc] permissions: contents: write @@ -25,20 +25,29 @@ jobs: - name: Assemble Site Structure run: | mkdir -p public/api public/user + + echo -n "Working Dir: " + pwd + echo "Working Dir Contents: " + ls # 1. Landing page (www is now at the root of the artifact) - cp -r exip-docs/www/* public/ + cp -r ./www/* public/ # 2. User guide - cp -r exip-docs/user/* public/user/ + cp -r ./user/* public/user/ # 3. API docs (doxygen/html is now at the root of the artifact) - cp -r exip-docs/dev/doxygen/html/* public/api/ + cp -r ./dev/doxygen/html/* public/api/ touch public/.nojekyll - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4 + uses: peaceiris/actions-gh-pages@v4 with: - folder: public - branch: gh-pages + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public # Must match your 'Assemble Site' output folder + publish_branch: gh-pages + # This automatically adds .nojekyll for you + enable_jekyll: false +