diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 66e3ff8..5898821 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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