Skip to content

Merge pull request #6 from TykTechnologies/cicd-env-promo #8

Merge pull request #6 from TykTechnologies/cicd-env-promo

Merge pull request #6 from TykTechnologies/cicd-env-promo #8

# Tyk developer pipeline -- perform validation and linting of API definitions and policies if needed for dev env APIs.
# This dev workflow will triggered if any PRs have been made specifically to the dev directory.
name: Tyk Development Workflow
# Execute workflow on dev pull requests
on:
pull_request:
paths:
- 'dev/**'
push:
paths:
- 'dev/**'
jobs:
# Set up dev APIs and Policies
tyk-dev-env:
uses: ./.github/workflows/tyk-dev.yml
secrets: inherit
# Set up staging APIs and Policies if the Dev assets pass the linter / validation
tyk-staging-env:
needs: tyk-dev-env
uses: ./.github/workflows/tyk-staging.yml
secrets: inherit
# Set up prod APIs and Policies if the Dev assets pass the linter / validation
tyk-prod-env:
needs: tyk-staging-env
uses: ./.github/workflows/tyk-production.yml
secrets: inherit