File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed
Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,18 @@ jobs:
3737 - name : Checkout code
3838 uses : actions/checkout@v4
3939
40- - name : Set up Node.js
41- uses : actions/setup-node@v4
42- with :
43- node-version : ' 24'
44-
4540 - name : Install pnpm
4641 uses : pnpm/action-setup@v4
4742 with :
4843 version : 10
4944
45+ - name : Set up Node.js
46+ uses : actions/setup-node@v4
47+ with :
48+ node-version : ' 24'
49+ cache : ' pnpm'
50+ cache-dependency-path : ' ./afterpython/_website/pnpm-lock.yaml'
51+
5052 - name : Set up Python
5153 uses : actions/setup-python@v5
5254 with :
6769 - name : Build website
6870 run : ap build
6971 env :
70- BASE_PATH : /afterpython
72+ BASE_PATH : ' /${{ github.event.repository.name }} '
7173
7274 - name : Upload artifact
7375 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -37,16 +37,18 @@ jobs:
3737 - name : Checkout code
3838 uses : actions/checkout@v4
3939
40- - name : Set up Node.js
41- uses : actions/setup-node@v4
42- with :
43- node-version : ' 24'
44-
4540 - name : Install pnpm
4641 uses : pnpm/action-setup@v4
4742 with :
4843 version : 10
4944
45+ - name : Set up Node.js
46+ uses : actions/setup-node@v4
47+ with :
48+ node-version : ' 24'
49+ cache : ' pnpm'
50+ cache-dependency-path : ' ./afterpython/_website/pnpm-lock.yaml'
51+
5052 - name : Set up Python
5153 uses : actions/setup-python@v5
5254 with :
6769 - name : Build website
6870 run : ap build
6971 env :
70- BASE_PATH : /afterpython
72+ BASE_PATH : ' /${{ github.event.repository.name }} '
7173
7274 - name : Upload artifact
7375 uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments