File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- name : Deploy static content to GitHub Pages
1+ # Simple workflow for deploying static content to GitHub Pages
2+ name : Deploy static content to Pages
23
34on :
5+ # Runs on pushes targeting the default branch
46 push :
57 branches : [main]
8+
9+ # Allows you to run this workflow manually from the Actions tab
610 workflow_dispatch :
711
12+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
813permissions :
914 contents : read
1015 pages : write
1116 id-token : write
1217
18+ # Allow one concurrent deployment
1319concurrency :
1420 group : " pages"
1521 cancel-in-progress : true
1622
1723env :
24+ # Hosted GitHub runners have 7 GB of memory available, let's use 6 GB
1825 NODE_OPTIONS : --max-old-space-size=6144
1926
2027jobs :
@@ -25,28 +32,22 @@ jobs:
2532 runs-on : ubuntu-latest
2633 steps :
2734 - name : Checkout
28- uses : actions/checkout@v4 # Upgraded from v3
29-
35+ uses : actions/checkout@v3
3036 - name : Set up Node.js
31- uses : actions/setup-node@v4 # Upgraded from v3
37+ uses : actions/setup-node@v3
3238 with :
33- node-version : 20.x # Updated to LTS version
39+ node-version : 18.x
3440 cache : yarn
35-
3641 - name : Install dependencies
3742 run : yarn install --frozen-lockfile --non-interactive
38-
3943 - name : Build
4044 run : yarn build
41-
4245 - name : Setup Pages
43- uses : actions/configure-pages@v4 # Upgraded from v3
44-
46+ uses : actions/configure-pages@v3
4547 - name : Upload artifact
4648 uses : actions/upload-pages-artifact@v2
4749 with :
4850 path : build
49-
5051 - name : Deploy to GitHub Pages
5152 id : deployment
52- uses : actions/deploy-pages@v3 # Upgraded to latest version
53+ uses : actions/deploy-pages@v2
Original file line number Diff line number Diff line change 2424### Example:
2525
2626``` js
27-
2827const userResponse = await codebolt .chat .askQuestion (question: string)
2928
3029```
You can’t perform that action at this time.
0 commit comments