Skip to content

Commit 5d77db2

Browse files
author
Manuel Humberto Colonia Vela [NE]
committed
test: deploy #2
1 parent f83f3c6 commit 5d77db2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/apidoc-deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Build and Deploy
22

33
on:
44
workflow_dispatch:
5-
#push:
6-
# branches:
5+
push:
6+
branches:
7+
- sc-ddt-gha
78
# - master
89
# - release
910
# - 'sc-*'
@@ -22,7 +23,7 @@ env:
2223

2324
jobs:
2425
build-and-deploy:
25-
#environment: ${{ github.ref_name == 'master' && 'staging' || github.ref_name == 'release' && 'produccion' || github.ref_name == 'sc-*' && 'ephemeral' }}
26+
environment: ${{ github.ref_name == 'master' && 'staging' || github.ref_name == 'release' && 'produccion' || github.ref_name == 'sc-*' && 'ephemeral' }}
2627
runs-on: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master' ||
2728
github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master')
2829
&& vars.AWS_RG_NAME_PRO || vars.AWS_RG_NAME_NONPRO }}

0 commit comments

Comments
 (0)