fix: 修改 runner 标签为 linux
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
||||
# 部署到测试环境
|
||||
deploy-staging:
|
||||
name: 部署测试环境
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: linux
|
||||
if: github.ref == 'refs/heads/develop'
|
||||
environment:
|
||||
name: staging
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
# 部署到正式环境
|
||||
deploy-production:
|
||||
name: 部署正式环境
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: linux
|
||||
if: github.ref == 'refs/heads/main'
|
||||
environment:
|
||||
name: production
|
||||
@@ -131,7 +131,7 @@ jobs:
|
||||
# 手动部署
|
||||
manual-deploy:
|
||||
name: 手动部署
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: linux
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
environment:
|
||||
name: ${{ github.event.inputs.environment }}
|
||||
|
||||
Reference in New Issue
Block a user