File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build JupyterLite
2+ on :
3+ push :
4+ branches : [ main ]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ - uses : jupyterlite/action@v1
11+ with :
12+ contents : .
13+ - uses : actions/upload-pages-artifact@v3
14+ with :
15+ path : ./_output
16+ deploy :
17+ needs : build
18+ permissions :
19+ pages : write
20+ id-token : write
21+ environment :
22+ name : github-pages
23+ url : ${{ steps.deployment.outputs.page_url }}
24+ runs-on : ubuntu-latest
25+ steps :
26+ - id : deployment
27+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ {
2+ "cells" : [
3+ {
4+ "cell_type" : " markdown" ,
5+ "id" : " 2032fd40" ,
6+ "metadata" : {},
7+ "source" : [
8+ " # Hello, World!"
9+ ]
10+ },
11+ {
12+ "cell_type" : " code" ,
13+ "execution_count" : 1 ,
14+ "id" : " 5515e07f" ,
15+ "metadata" : {},
16+ "outputs" : [
17+ {
18+ "name" : " stdout" ,
19+ "output_type" : " stream" ,
20+ "text" : [
21+ " Hello, World!\n "
22+ ]
23+ }
24+ ],
25+ "source" : [
26+ " print(\" Hello, World!\" )"
27+ ]
28+ },
29+ {
30+ "cell_type" : " markdown" ,
31+ "id" : " b3cb1e63" ,
32+ "metadata" : {},
33+ "source" : [
34+ " # Variables"
35+ ]
36+ },
37+ {
38+ "cell_type" : " code" ,
39+ "execution_count" : null ,
40+ "id" : " bc6e719e" ,
41+ "metadata" : {},
42+ "outputs" : [],
43+ "source" : []
44+ }
45+ ],
46+ "metadata" : {
47+ "kernelspec" : {
48+ "display_name" : " Python 3" ,
49+ "language" : " python" ,
50+ "name" : " python3"
51+ },
52+ "language_info" : {
53+ "codemirror_mode" : {
54+ "name" : " ipython" ,
55+ "version" : 3
56+ },
57+ "file_extension" : " .py" ,
58+ "mimetype" : " text/x-python" ,
59+ "name" : " python" ,
60+ "nbconvert_exporter" : " python" ,
61+ "pygments_lexer" : " ipython3" ,
62+ "version" : " 3.7.10"
63+ }
64+ },
65+ "nbformat" : 4 ,
66+ "nbformat_minor" : 5
67+ }
You can’t perform that action at this time.
0 commit comments