This commit is contained in:
Peter 2023-06-24 01:49:27 +08:00
parent 4189c557eb
commit f2242b7289
2 changed files with 6 additions and 32 deletions

View File

@ -3,10 +3,10 @@ name: Build and Deploy
on: on:
push: push:
branches: branches:
- main - master
pull_request: pull_request:
branches: branches:
- '*' - "*"
jobs: jobs:
build: build:
@ -17,7 +17,7 @@ jobs:
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: "3.10"
- name: Install the dependencies - name: Install the dependencies
run: | run: |
python -m pip install -r requirements.txt python -m pip install -r requirements.txt
@ -32,7 +32,7 @@ jobs:
deploy: deploy:
needs: build needs: build
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/master'
permissions: permissions:
pages: write pages: write
id-token: write id-token: write

View File

@ -1,29 +1,3 @@
# JupyterLite Demo # Starcore explorer
[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://jupyterlite.github.io/demo) Load Starcore data files
JupyterLite deployed as a static site to GitHub Pages, for demo purposes.
## ✨ Try it in your browser ✨
➡️ **https://jupyterlite.github.io/demo**
![github-pages](https://user-images.githubusercontent.com/591645/120649478-18258400-c47d-11eb-80e5-185e52ff2702.gif)
## Requirements
JupyterLite is being tested against modern web browsers:
- Firefox 90+
- Chromium 89+
## Deploy your JupyterLite website on GitHub Pages
Check out the guide on the JupyterLite documentation: https://jupyterlite.readthedocs.io/en/latest/quickstart/deploy.html
## Further Information and Updates
For more info, keep an eye on the JupyterLite documentation:
- How-to Guides: https://jupyterlite.readthedocs.io/en/latest/howto/index.html
- Reference: https://jupyterlite.readthedocs.io/en/latest/reference/index.html