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