Skip to content

Add push trigger

Add push trigger #1

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
name: Nighly ECS example validator
on:
# schedule:
# - cron: '0 0 * * *' # Runs every day at midnight UTC
workflow_dispatch:
push:
jobs:
validator:
strategy:
matrix:
name:
- Consul ECS on Fargate
- Consul ECS on EC2
include:
- name: Consul ECS on Fargate
region: us-east-1
working-directory: examples/dev-server-fargate
variables: '{"lb_ingress_ip": "eval curl -s ifconfig.me"}'
- name: Consul ECS on EC2
region: us-east-2
working-directory: examples/dev-server-ec2
variables: '{"lb_ingress_ip": "eval curl -s ifconfig.me"}'
fail-fast: false
uses: ./.github/workflows/reusable-ecs-example-validator.yaml

Check failure on line 29 in .github/workflows/nightly-ecs-examples-validator.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nightly-ecs-examples-validator.yml

Invalid workflow file

error parsing called workflow ".github/workflows/nightly-ecs-examples-validator.yml" -> "./.github/workflows/reusable-ecs-example-validator.yaml" : failed to fetch workflow: workflow was not found.
with:
name: ${{ matrix.name }}
region: ${{ matrix.region }}
working-directory: ${{ matrix.working-directory }}
variables: ${{ matrix.variables }}
secrets: inherit