Skip to content

Commit

Permalink
Remove edgeserver auto-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony1060 committed Jun 2, 2024
1 parent 6dfeff6 commit 57f5a38
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,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
# 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

0 comments on commit 57f5a38

Please sign in to comment.