File tree Expand file tree Collapse file tree 2 files changed +64
-1
lines changed Expand file tree Collapse file tree 2 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Install pnpm
16
+ uses : pnpm/action-setup@v2
17
+ with :
18
+ version : 8
19
+
20
+ - name : Install Node.js
21
+ uses : actions/setup-node@v3
22
+ with :
23
+ node-version : 22
24
+ cache : pnpm
25
+
26
+ - name : Install dependencies
27
+ run : pnpm install --frozen-lockfile
28
+
29
+ - name : Setup Pages
30
+ uses : actions/configure-pages@v3
31
+ with :
32
+ static_site_generator : sveltekit
33
+
34
+ - name : Build
35
+ run : pnpm run build
36
+
37
+ - name : Upload Artifacts
38
+ uses : actions/upload-pages-artifact@v1
39
+ with :
40
+ # this should match the `pages` option in your adapter-static options
41
+ path : " build/"
42
+
43
+ # Deploy job
44
+ deploy :
45
+ # Add a dependency to the build job
46
+ needs : build
47
+
48
+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
49
+ permissions :
50
+ pages : write # to deploy to Pages
51
+ id-token : write # to verify the deployment originates from an appropriate source
52
+
53
+ # Deploy to the github-pages environment
54
+ environment :
55
+ name : github-pages
56
+ url : ${{ steps.deployment.outputs.page_url }}
57
+
58
+ # Specify runner + deployment step
59
+ runs-on : ubuntu-latest
60
+ steps :
61
+ - name : Deploy to GitHub Pages
62
+ id : deployment
63
+ uses : actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
Original file line number Diff line number Diff line change 5
5
"type" : " module" ,
6
6
"scripts" : {
7
7
"dev" : " vite" ,
8
- "build" : " vite build --base /pharmacy.js/ " ,
8
+ "build" : " vite build" ,
9
9
"preview" : " vite preview" ,
10
10
"check" : " svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json" ,
11
11
"generate:openapi" : " openapi-typescript https://services.careconnect.dev.wellsync.io/openapi.yaml -o ./src/lib/api/types.generated.ts"
You can’t perform that action at this time.
0 commit comments