Skip to content

Commit c2b6b19

Browse files
committed
add turbo
1 parent 4ac164d commit c2b6b19

File tree

540 files changed

+30106
-51
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

540 files changed

+30106
-51
lines changed
Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,60 @@
1-
name: Deploy to GitHub Pages
1+
name: Deploy Docs to GitHub Pages
22

33
on:
44
push:
55
branches:
66
- main
7-
7+
paths:
8+
- 'apps/docs/**'
9+
- 'packages/svelte-google-maps-api/**'
10+
- '.github/workflows/deploy-docs.yml'
11+
- 'pnpm-lock.yaml'
12+
- 'package.json'
13+
- 'turbo.json'
14+
workflow_dispatch:
815
permissions:
916
contents: read
1017
pages: write
1118
id-token: write
19+
concurrency:
20+
group: 'pages'
21+
cancel-in-progress: false
1222

1323
jobs:
14-
build:
24+
deploy:
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
1528
runs-on: ubuntu-latest
1629
steps:
1730
- name: Checkout
1831
uses: actions/checkout@v4
19-
- name: Setup Node.js
20-
uses: actions/setup-node@v4
21-
with:
22-
node-version: "20"
32+
2333
- name: Setup pnpm
2434
uses: pnpm/action-setup@v3
2535
with:
26-
version: 9
36+
version: 10
37+
38+
- name: Setup Node
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: '20'
42+
cache: 'pnpm'
43+
2744
- name: Install dependencies
2845
run: pnpm install
29-
- name: Build
30-
run: pnpm build
46+
47+
- name: Build Docs
48+
run: pnpm build --filter=docs
49+
3150
- name: Setup Pages
32-
uses: actions/configure-pages@v5
51+
uses: actions/configure-pages@v4
52+
3353
- name: Upload artifact
3454
uses: actions/upload-pages-artifact@v3
3555
with:
36-
path: ./dist
56+
path: 'apps/docs/build'
3757

38-
deploy:
39-
needs: build
40-
runs-on: ubuntu-latest
41-
environment:
42-
name: github-pages
43-
url: ${{ steps.deployment.outputs.page_url }}
44-
steps:
4558
- name: Deploy to GitHub Pages
4659
id: deployment
4760
uses: actions/deploy-pages@v4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"hash":"1065b9b9018fd116","duration":9918}
24.8 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"hash":"371563ce43ee026e","duration":2038}
24.8 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"hash":"8a40cf3318ea46cc","duration":35781}
637 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"hash":"92bb523d760da17b","duration":7738}
24.8 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"hash":"d8e05cc802f066fc","duration":9155}

0 commit comments

Comments
 (0)