# Template: Deploy on release branch# Copy to: .github/workflows/release-deploy.yml## Triggers on push to release/* branches# Runs: build + test + artifact + 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/krakend-main-pipeline.yml@main with: run_build: true run_test: true run_artifact: true run_deploy: true environment: 'staging' # extra_volumes: default mounts ./certs:/etc/krakend/certs:ro on the host. # Place certs at /opt/docker/<repo>/certs/ on the EC2 host before deploy. # Override below to add more bind mounts (one per line, leading "- "): # extra_volumes: | # - ./certs:/etc/krakend/certs:ro # - ./config:/etc/krakend/config:ro secrets: inherit KrakenD· Consumer template ·on: push
Krakend Release Deploy
Template: Deploy on release branch Copy to: .github/workflows/release-deploy.yml Triggers on push to release/* branches Runs: build + test + artifact + deploy (STAGING environment) Required secrets: S
templates/krakend-release-deploy.yml