1 changed files with 31 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||
|
name: Build and Deploy Toolbox |
||||
|
|
||||
|
on: |
||||
|
push: |
||||
|
branches: |
||||
|
- '**' |
||||
|
|
||||
|
jobs: |
||||
|
build-and-deploy-dev: |
||||
|
if: github.ref_name != 'prod' |
||||
|
runs-on: [self-hosted, work-dev] |
||||
|
|
||||
|
steps: |
||||
|
- name: Checkout code |
||||
|
uses: actions/checkout@v4 |
||||
|
|
||||
|
- name: Deploy to Dev |
||||
|
run: C:\Users\npatterson\Desktop\Alpha\prod\servicetrade-toolbox-deploy.ps1 -Target dev |
||||
|
shell: pwsh |
||||
|
|
||||
|
build-and-deploy-prod: |
||||
|
if: github.ref_name == 'prod' |
||||
|
runs-on: [self-hosted, work-dev] |
||||
|
|
||||
|
steps: |
||||
|
- name: Checkout code |
||||
|
uses: actions/checkout@v4 |
||||
|
|
||||
|
- name: Deploy to Prod |
||||
|
run: C:\Users\npatterson\Desktop\Alpha\prod\servicetrade-toolbox-deploy.ps1 -Target prod |
||||
|
shell: pwsh |
||||
Loading…
Reference in new issue