|
1 |
| -name: Deploy to Edgeserver |
2 |
| - |
3 |
| -on: |
4 |
| - push: |
5 |
| - branches: |
6 |
| - - "master" |
7 |
| - |
8 |
| -jobs: |
9 |
| - deploy: |
10 |
| - name: "🚚 Deploy" |
11 |
| - runs-on: ubuntu-latest |
12 |
| - steps: |
13 |
| - - uses: actions/checkout@v2 |
14 |
| - |
15 |
| - - uses: actions/setup-node@v2 |
16 |
| - with: |
17 |
| - node-version: 18 |
18 |
| - |
19 |
| - - name: Install PNPM |
20 |
| - uses: pnpm/action-setup@v2 |
21 |
| - with: |
22 |
| - version: 7.25.0 |
23 |
| - |
24 |
| - - name: Set PNPM store path |
25 |
| - run: "echo \"PNPM_STORE_PATH=$(pnpm store path)\" >> $GITHUB_ENV" |
26 |
| - |
27 |
| - - name: Cache PNPM packages |
28 |
| - uses: actions/cache@v2 |
29 |
| - with: |
30 |
| - path: ${{ env.PNPM_STORE_PATH }} |
31 |
| - key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} |
32 |
| - restore-keys: | |
33 |
| - pnpm-${{ runner.os }}- |
34 |
| -
|
35 |
| - - name: Install dependencies |
36 |
| - run: pnpm install |
37 |
| - |
38 |
| - - name: Build |
39 |
| - run: pnpm build |
40 |
| - |
41 |
| - - name: Edgeserver Upload |
42 |
| - uses: lvkdotsh/edgeserver-upload@master |
43 |
| - with: |
44 |
| - app_id: "177185204648022016" |
45 |
| - server: https://app.edgeserver.io |
46 |
| - token: ${{ secrets.SIGNAL_TOKEN }} |
47 |
| - directory: dist/static |
| 1 | +# name: Deploy to Edgeserver |
| 2 | + |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - "master" |
| 7 | + |
| 8 | +# jobs: |
| 9 | +# deploy: |
| 10 | +# name: "🚚 Deploy" |
| 11 | +# runs-on: ubuntu-latest |
| 12 | +# steps: |
| 13 | +# - uses: actions/checkout@v2 |
| 14 | + |
| 15 | +# - uses: actions/setup-node@v2 |
| 16 | +# with: |
| 17 | +# node-version: 18 |
| 18 | + |
| 19 | +# - name: Install PNPM |
| 20 | +# uses: pnpm/action-setup@v2 |
| 21 | +# with: |
| 22 | +# version: 7.25.0 |
| 23 | + |
| 24 | +# - name: Set PNPM store path |
| 25 | +# run: "echo \"PNPM_STORE_PATH=$(pnpm store path)\" >> $GITHUB_ENV" |
| 26 | + |
| 27 | +# - name: Cache PNPM packages |
| 28 | +# uses: actions/cache@v2 |
| 29 | +# with: |
| 30 | +# path: ${{ env.PNPM_STORE_PATH }} |
| 31 | +# key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} |
| 32 | +# restore-keys: | |
| 33 | +# pnpm-${{ runner.os }}- |
| 34 | + |
| 35 | +# - name: Install dependencies |
| 36 | +# run: pnpm install |
| 37 | + |
| 38 | +# - name: Build |
| 39 | +# run: pnpm build |
| 40 | + |
| 41 | +# - name: Edgeserver Upload |
| 42 | +# uses: lvkdotsh/edgeserver-upload@master |
| 43 | +# with: |
| 44 | +# app_id: "177185204648022016" |
| 45 | +# server: https://app.edgeserver.io |
| 46 | +# token: ${{ secrets.SIGNAL_TOKEN }} |
| 47 | +# directory: dist/static |
0 commit comments