File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 1
- # Simple workflow for deploying static content to GitHub Pages
2
1
name : Deploy static content to Pages
3
2
4
3
on :
5
- # Runs on pushes targeting the default branch
6
4
push :
7
5
branches : ["master"]
8
-
9
- # Allows you to run this workflow manually from the Actions tab
10
6
workflow_dispatch :
11
7
12
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
8
permissions :
14
9
contents : read
15
10
pages : write
16
11
id-token : write
17
12
18
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20
13
concurrency :
21
14
group : " pages"
22
15
cancel-in-progress : false
23
16
24
17
jobs :
25
- # Single deploy job since we're just deploying
26
18
deploy :
27
19
environment :
28
20
name : github-pages
@@ -38,11 +30,12 @@ jobs:
38
30
with :
39
31
bun-version : latest
40
32
- name : Build
41
- run : bun run server/build.js --build
33
+ run : |
34
+ bun install
35
+ bun run server/build.js --build
42
36
- name : Upload artifact
43
37
uses : actions/upload-pages-artifact@v3
44
38
with :
45
- # Upload entire repository
46
39
path : dist
47
40
- name : Deploy to GitHub Pages
48
41
id : deployment
You can’t perform that action at this time.
0 commit comments