Skip to content

Generate and Present Data CI/CD pipeline #47

Generate and Present Data CI/CD pipeline

Generate and Present Data CI/CD pipeline #47

Workflow file for this run

name: GitHub Actions Generate and Present Data
run-name: Generate and Present Data CI/CD pipeline
on: [push]
jobs:
build_data_api_authorizer:
uses: ./.github/workflows/build.yml
permissions:
id-token: write
contents: read
with:
lambdaFunction: data_api_authorizer_fa
Infrastructure:
name: Infrastructure
runs-on: ubuntu-latest
needs: build_data_api_authorizer
steps:
- name: Upload infrastructure artifacts
uses: actions/upload-artifact@v4
with:
path: ./infrastructure/
retention-days: 1
name: infrastructure_${{ github.run_id }}
deploy-dev:
uses: ./.github/workflows/deployment.yml
needs: build

Check failure on line 25 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / GitHub Actions Generate and Present Data

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 25, Col: 12): Job 'deploy-dev' depends on unknown job 'build'. .github/workflows/main.yml (Line: 33, Col: 12): Job 'deploy-prd' depends on job 'deploy-dev' which creates a cycle in the dependency graph.
permissions:
id-token: write
contents: read
with:
environment: dev
deploy-prd:
uses: ./.github/workflows/deployment.yml
needs: deploy-dev
permissions:
id-token: write
contents: read
with:
environment: prd