Saltar al contenido
mypipelines
Pipelines Actions Gradle Buscar
React· Consumer template ·on: push

React Release Deploy

Template: Deploy on release branch Copy to: .github/workflows/release-deploy.yml Triggers on push to release/* branches Runs: build + test + deploy (STAGING environment) Required secrets: Same as deve

templates/react-release-deploy.yml

templates/react-release-deploy.yml
# Template: Deploy on release branch
# Copy to: .github/workflows/release-deploy.yml
#
# Triggers on push to release/* branches
# Runs: build + test + deploy (STAGING environment)
#
# Required secrets: Same as develop-deploy.yml
name: Deploy to STAGING
on:
push:
branches:
- 'release/**'
permissions:
contents: read
id-token: write
jobs:
deploy:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
uses: <org>/ci-templates/.github/workflows/react-main-pipeline.yml@main
with:
run_build: true
run_test: true
run_deploy: true
environment: 'staging'
secrets: inherit