Skip to content

Api-Waf-Sync Deploy #23

Api-Waf-Sync Deploy

Api-Waf-Sync Deploy #23

name: Api-Waf-Sync Deploy
on:
workflow_call:
inputs:
env:
description: AWS environment to deploy to
required: true
type: string
default: "dev"
workflow_dispatch:
inputs:
env:
description: AWS environment to deploy to
required: true
type: string
default: "dev"
push:
branches:
- main
paths:
- lambda/api-waf-sync/**
- .github/workflows/api-waf-sync-deploy.yml
- .github/workflows/deploy_go_lambda.yml
jobs:
deploy:
name: 'Deploy API WAF sync'
uses: ./.github/workflows/deploy_go_lambda.yml
permissions:
id-token: write
contents: read
with:
env: ${{ inputs.env || 'dev' }}
project: api-waf-sync
go_files: "main.go db.go aws.go"
secrets: inherit