Skip to content

#318 Added always

#318 Added always #13

Workflow file for this run

name: RAP pipeline
on:
push:
branches:
- "main"
- "feature/**"
# paths:
# - "./RAP4/"
jobs:
Staging:
if: startsWith(github.ref_name, 'feature/')
# if: github.ref_name == 'main'
uses: ./.github/workflows/Deploy_workflow.yml
with:
environmentName: staging
context: RAP4
deploymentName: rap
containerName: ampersand-rap
imageName: ampersand-rap
secrets: inherit
Production:
if: github.ref_name == 'main'
needs: Staging
uses: ./.github/workflows/Deploy_workflow.yml
with:
environmentName: production
context: RAP4
deploymentName: rap
containerName: ampersand-rap
imageName: ampersand-rap
secrets: inherit