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