feat: extend the website promotion check to development

This commit is contained in:
SPT-dev 2023-03-02 21:13:23 -05:00
parent a619189bd1
commit d89faaf9ed

View File

@ -127,7 +127,9 @@ trigger:
event: event:
- promote - promote
branch: branch:
- development
- main - main
- master
steps: steps:
- name: check website ansible syntax - name: check website ansible syntax
@ -137,6 +139,8 @@ steps:
inventory: ./.ansible-website/inventory inventory: ./.ansible-website/inventory
galaxy: ./.ansible-website/requirements.yml galaxy: ./.ansible-website/requirements.yml
syntax_check: true syntax_check: true
branch:
- development
target: target:
- website-check - website-check
- website - website
@ -159,6 +163,8 @@ steps:
from_secret: deploy_user_group from_secret: deploy_user_group
SPT_WEBSITE_PATH: SPT_WEBSITE_PATH:
from_secret: website_deploy_path from_secret: website_deploy_path
branch:
- development
target: target:
- website-check - website-check
@ -179,5 +185,8 @@ steps:
from_secret: deploy_user_group from_secret: deploy_user_group
SPT_WEBSITE_PATH: SPT_WEBSITE_PATH:
from_secret: website_deploy_path from_secret: website_deploy_path
branch:
- main
- master
target: target:
- website - website