Correct the learned-heuristic timings, and say what gripper's seed does #19
This file contains hidden or 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: pages | |
| # Publish the browser playground to GitHub Pages. The page runs the real | |
| # library under Pyodide, so "deploying" is just bundling the package sources | |
| # and the demo instances alongside the static assets. | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: true | |
| jobs: | |
| # Not called `build`: that name belongs to the packaging workflow, and two | |
| # checks with one name is a reliable way to gate a merge on the wrong one. | |
| # (Mergify used to key a rule on it; Mergify is gone, the reasoning is not.) | |
| bundle: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: false | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - name: Bundle jupyddl and the demos for the browser | |
| run: python tools/build_web.py | |
| - name: Fail if the committed bundle is stale | |
| run: | | |
| if ! git diff --quiet -- web/dist; then | |
| echo "web/dist is out of date. Run 'python tools/build_web.py' and commit the result." >&2 | |
| git diff --stat -- web/dist >&2 | |
| exit 1 | |
| fi | |
| - uses: actions/configure-pages@v6 | |
| - uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: web | |
| deploy: | |
| needs: bundle | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - id: deployment | |
| uses: actions/deploy-pages@v5 |