|
1 | | -name: Build and Deploy to GitHub Pages |
| 1 | +# name: Build and Deploy to GitHub Pages |
2 | 2 |
|
3 | | -on: |
4 | | - workflow_dispatch: |
5 | | - inputs: |
6 | | - reason: |
7 | | - description: "Reason for deployment" |
8 | | - required: true |
9 | | - push: |
10 | | - branches: |
11 | | - - main |
12 | | - paths: |
13 | | - - "frontend/**" |
| 3 | +# on: |
| 4 | +# workflow_dispatch: |
| 5 | +# inputs: |
| 6 | +# reason: |
| 7 | +# description: "Reason for deployment" |
| 8 | +# required: true |
| 9 | +# push: |
| 10 | +# branches: |
| 11 | +# - main |
| 12 | +# paths: |
| 13 | +# - "frontend/**" |
14 | 14 |
|
15 | | -permissions: |
16 | | - contents: write |
| 15 | +# permissions: |
| 16 | +# contents: write |
17 | 17 |
|
18 | | -jobs: |
19 | | - deploy: |
20 | | - runs-on: ubuntu-latest |
21 | | - timeout-minutes: 10 |
22 | | - steps: |
23 | | - - name: Checkout |
24 | | - uses: actions/checkout@v4.2.2 |
| 18 | +# jobs: |
| 19 | +# deploy: |
| 20 | +# runs-on: ubuntu-latest |
| 21 | +# timeout-minutes: 10 |
| 22 | +# steps: |
| 23 | +# - name: Checkout |
| 24 | +# uses: actions/checkout@v4.2.2 |
25 | 25 |
|
26 | | - - name: Setup Node.js |
27 | | - uses: actions/setup-node@v4.1.0 |
28 | | - with: |
29 | | - node-version: "20" |
30 | | - cache: "npm" |
| 26 | +# - name: Setup Node.js |
| 27 | +# uses: actions/setup-node@v4.1.0 |
| 28 | +# with: |
| 29 | +# node-version: "20" |
| 30 | +# cache: "npm" |
31 | 31 |
|
32 | | - - name: Install Dependencies |
33 | | - run: cd frontend && npm i --legacy-peer-deps |
| 32 | +# - name: Install Dependencies |
| 33 | +# run: cd frontend && npm i --legacy-peer-deps |
34 | 34 |
|
35 | | - - name: Build Mavluda Beauty Frontend |
36 | | - run: cd frontend && npm run build --prod --base-href=/mavluda-beauty/ |
| 35 | +# - name: Build Mavluda Beauty Frontend |
| 36 | +# run: cd frontend && npm run build --prod --base-href=/mavluda-beauty/ |
37 | 37 |
|
38 | | - - name: Deploy to GitHub Pages |
39 | | - uses: peaceiris/actions-gh-pages@v4.0.0 |
40 | | - with: |
41 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
42 | | - publish_dir: ./frontend/dist/ |
43 | | - publish_branch: gh-pages |
| 38 | +# - name: Deploy to GitHub Pages |
| 39 | +# uses: peaceiris/actions-gh-pages@v4.0.0 |
| 40 | +# with: |
| 41 | +# github_token: ${{ secrets.GITHUB_TOKEN }} |
| 42 | +# publish_dir: ./frontend/dist/ |
| 43 | +# publish_branch: gh-pages |
0 commit comments