diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55d0413..c0a68ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}