mirror of https://github.com/buster-so/buster.git
deploy fix
This commit is contained in:
parent
111955042c
commit
531966e0cd
|
@ -10,7 +10,7 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'staging') }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' && (github.event.workflow_run.head_branch == 'main' || github.event.workflow_run.head_branch == 'staging') }}
|
||||||
runs-on: blacksmith-2vcpu-ubuntu-2404
|
runs-on: blacksmith-2vcpu-ubuntu-2404
|
||||||
environment: ${{ github.event.workflow_run.head_branch == 'main' && 'production' || 'staging' }}
|
environment: ${{ github.event.workflow_run.head_branch == 'main' && 'production' || github.event.workflow_run.head_branch == 'staging' && 'staging' || '' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
Loading…
Reference in New Issue