Skip to content

Commit

Permalink
ci: fix docs deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobuikhuizen committed Feb 9, 2024
1 parent 261645f commit efe0c5e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,29 @@ jobs:
run: export NODE_OPTIONS=--openssl-legacy-provider;(cd docs && npm ci && npm run docs:build)
- name: Add .nojekyll
run: (cd public && touch .nojekyll)
- name: move to subdir
run: mkdir upload_docs && mv public upload_docs/
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: ipyaggrid-docs-${{ github.run_number }}
path: |
./public
./upload_docs
temp-deploy-docs:
needs: [ build-docs ]
runs-on: ubuntu-20.04
steps:
- uses: actions/download-artifact@v4
with:
name: ipyaggrid-docs-${{ github.run_number }}
- name: show files
run: find .
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./public

release:
if: startsWith(github.event.ref, 'refs/tags/v')
Expand Down

0 comments on commit efe0c5e

Please sign in to comment.