feat: 更新 CI 工作流,修改 Surge 部署步骤以使用主分支
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
- name: 部署到 Surge
|
||||
id: surge_deploy
|
||||
if: ${{ github.actor != 'nektos/act' }} # https://nektosact.com/usage/index.html#skipping-steps
|
||||
uses: yanhao98/composite-actions/deploy-dist-to-surge@6af4afe9ff50a3ea1b24f38ce51a99d4a8f6376a
|
||||
uses: yanhao98/composite-actions/deploy-dist-to-surge@main
|
||||
- name: Install Playwright Browsers
|
||||
run: pnpm exec playwright install --with-deps
|
||||
- name: Run Playwright tests
|
||||
|
Reference in New Issue
Block a user