We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f83f3c6 commit 5d77db2Copy full SHA for 5d77db2
1 file changed
.github/workflows/apidoc-deploy.yml
@@ -2,8 +2,9 @@ name: Build and Deploy
2
3
on:
4
workflow_dispatch:
5
- #push:
6
- # branches:
+ push:
+ branches:
7
+ - sc-ddt-gha
8
# - master
9
# - release
10
# - 'sc-*'
@@ -22,7 +23,7 @@ env:
22
23
24
jobs:
25
build-and-deploy:
- #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' }}
27
runs-on: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master' ||
28
github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'master')
29
&& vars.AWS_RG_NAME_PRO || vars.AWS_RG_NAME_NONPRO }}
0 commit comments