ci: switch deployment workflow from main to dev
This commit is contained in:
@@ -3,7 +3,7 @@ name: fquiz 镜像构建与部署
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-and-push
|
||||
if: github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
steps:
|
||||
- name: 校验部署参数
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user