Skip to content

refactor: consolidate deployment workflows into reusable template #39

refactor: consolidate deployment workflows into reusable template

refactor: consolidate deployment workflows into reusable template #39

Workflow file for this run

name: Deploy Dev
on:
push:
branches: [dev]
workflow_dispatch:
inputs:
skip_tests:
description: 'Skip tests before deployment'
required: false
default: 'false'
type: choice
options:
- 'true'
- 'false'
jobs:
deploy-dev:
name: Deploy to Dev Environment
uses: ./.github/workflows/deploy-reusable.yml

Check failure on line 20 in .github/workflows/deploy-dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-dev.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy-dev.yml" -> "./.github/workflows/deploy-reusable.yml" (source branch with sha:c3e99d551621384d3f3c68ef8ceceecc0afa1b0e) : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
with:
environment: dev
stack-name: dev
coverage-threshold: 60
test-scope: unit
skip-tests: ${{ github.event.inputs.skip_tests == 'true' }}
deploy-infrastructure: false
create-release: false
require-approval: false
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}