|
1 | | -name: 🚩 Deploy to GH-Pages |
| 1 | +# name: 🚩 Deploy to GH-Pages |
2 | 2 |
|
3 | | -on: |
4 | | - push: |
5 | | - branches: |
6 | | - - main |
7 | | - tags: |
8 | | - - "*" |
9 | | - # Workflow is triggered only if src changes |
10 | | - paths: |
11 | | - - index.html |
12 | | - - vite.config.ts |
13 | | - - src/** |
14 | | - - public/** |
15 | | - - pnpm-lock.yaml |
16 | | - # Allow manual trigger (workflow_dispatch) |
17 | | - workflow_dispatch: |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - main |
| 7 | +# tags: |
| 8 | +# - "*" |
| 9 | +# # Workflow is triggered only if src changes |
| 10 | +# paths: |
| 11 | +# - index.html |
| 12 | +# - vite.config.ts |
| 13 | +# - src/** |
| 14 | +# - public/** |
| 15 | +# - pnpm-lock.yaml |
| 16 | +# # Allow manual trigger (workflow_dispatch) |
| 17 | +# workflow_dispatch: |
18 | 18 |
|
19 | | -permissions: |
20 | | - contents: read |
21 | | - pages: write |
22 | | - id-token: write |
| 19 | +# permissions: |
| 20 | +# contents: read |
| 21 | +# pages: write |
| 22 | +# id-token: write |
23 | 23 |
|
24 | | -# Allow one concurrent deployment |
25 | | -concurrency: |
26 | | - group: "pages" |
27 | | - cancel-in-progress: true |
| 24 | +# # Allow one concurrent deployment |
| 25 | +# concurrency: |
| 26 | +# group: "pages" |
| 27 | +# cancel-in-progress: true |
28 | 28 |
|
29 | | -jobs: |
30 | | - publish: |
31 | | - environment: |
32 | | - name: github-pages |
33 | | - url: ${{ steps.deployment.outputs.page_url }} |
34 | | - runs-on: ubuntu-latest |
| 29 | +# jobs: |
| 30 | +# publish: |
| 31 | +# environment: |
| 32 | +# name: github-pages |
| 33 | +# url: ${{ steps.deployment.outputs.page_url }} |
| 34 | +# runs-on: ubuntu-latest |
35 | 35 |
|
36 | | - steps: |
37 | | - - name: Checkout |
38 | | - uses: actions/checkout@v4 |
| 36 | +# steps: |
| 37 | +# - name: Checkout |
| 38 | +# uses: actions/checkout@v4 |
39 | 39 |
|
40 | | - # Version is specified in package.json packageManager key |
41 | | - - uses: pnpm/action-setup@v4 |
| 40 | +# # Version is specified in package.json packageManager key |
| 41 | +# - uses: pnpm/action-setup@v4 |
42 | 42 |
|
43 | | - - name: Setup Node.js |
44 | | - uses: actions/setup-node@v4 |
45 | | - with: |
46 | | - node-version: 22 |
47 | | - cache: "pnpm" |
48 | | - cache-dependency-path: "pnpm-lock.yaml" |
| 43 | +# - name: Setup Node.js |
| 44 | +# uses: actions/setup-node@v4 |
| 45 | +# with: |
| 46 | +# node-version: 22 |
| 47 | +# cache: "pnpm" |
| 48 | +# cache-dependency-path: "pnpm-lock.yaml" |
49 | 49 |
|
50 | | - - name: Install dependencies |
51 | | - working-directory: . |
52 | | - run: CI=true pnpm install |
| 50 | +# - name: Install dependencies |
| 51 | +# working-directory: . |
| 52 | +# run: CI=true pnpm install |
53 | 53 |
|
54 | | - - name: Build Dist |
55 | | - working-directory: . |
56 | | - run: pnpm build |
| 54 | +# - name: Build Dist |
| 55 | +# working-directory: . |
| 56 | +# run: pnpm build |
57 | 57 |
|
58 | | - - name: Setup Pages |
59 | | - uses: actions/configure-pages@v4 |
| 58 | +# - name: Setup Pages |
| 59 | +# uses: actions/configure-pages@v4 |
60 | 60 |
|
61 | | - - name: Upload artifact |
62 | | - uses: actions/upload-pages-artifact@v3 |
63 | | - with: |
64 | | - # Upload dist repository |
65 | | - path: "./dist" |
| 61 | +# - name: Upload artifact |
| 62 | +# uses: actions/upload-pages-artifact@v3 |
| 63 | +# with: |
| 64 | +# # Upload dist repository |
| 65 | +# path: "./dist" |
66 | 66 |
|
67 | | - - name: Deploy to GitHub Pages |
68 | | - id: deployment |
69 | | - uses: actions/deploy-pages@v4 |
| 67 | +# - name: Deploy to GitHub Pages |
| 68 | +# id: deployment |
| 69 | +# uses: actions/deploy-pages@v4 |
0 commit comments