This commit is contained in:
2026-04-07 22:16:50 +08:00
parent 88f024c414
commit dff6e235b5

View File

@@ -4,8 +4,6 @@ on:
push:
tags:
- "v*"
branches:
- main
jobs:
deploy-job:
@@ -23,10 +21,10 @@ jobs:
run: |
$OutputEncoding = [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
chcp 65001
Write-Host "当前目录: $PWD"
Write-Host "Current Directory: $PWD"
node -v
pnpm -v
Write-Host "当前 Tag/分支: ${{ github.ref_name }}"
Write-Host "Current Tag/Branch: ${{ github.ref_name }}"
- name: 3. 安装依赖
shell: powershell
@@ -40,7 +38,7 @@ jobs:
run: |
$OutputEncoding = [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
chcp 65001
node scripts/deploy.js
node deploy.js
env:
SENTRY_URL: ${{ secrets.GLITCHTIP_URL }}
SENTRY_AUTH_TOKEN: ${{ secrets.GLITCHTIP_TOKEN }}