Skip to content

rename template

rename template #3

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
test:
uses: ./.github/workflows/coverage.yml

Check failure on line 9 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy.yml" -> "./.github/workflows/coverage.yml" (source branch with sha:524d92aa89a5e16085caa3c59daefcc4f714a354) : workflow is not reusable as it is missing a `on.workflow_call` trigger
deploy:
runs-on: ubuntu-latest
environment: deploy-manual
steps:
- uses: actions/checkout@v4
- name: Deploy with cloudformation
env:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws cloudformation package --template-file template.yml --output-template-file serverless-output.yaml --s3-bucket ${{ secrets.AWS_S3_BUCKET }}
aws cloudformation deploy --template-file serverless-output.yaml --stack-name ${{ secrets.STACK_NAME }} --capabilities CAPABILITY_NAMED_IAM --no-execute-changeset