Skip to content

reorder ci

reorder ci #7

Workflow file for this run

name: Release CI
env:
PROJECT_NAME: mmw
FILMDROP_TERRAFORM_RELEASE: v2.23.0 # keep this up to date!
on:
push:
branches: ["main"]
tags: ["v*.*.*"]
jobs:
deploy-staging:
uses: ./.github/workflows/deploy-reusable.yaml
secrets: inherit
environment:

Check failure on line 16 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Release CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 16, Col: 5): Unexpected value 'environment' .github/workflows/ci.yaml (Line: 20, Col: 21): Unrecognized named-value: 'env'. Located at position 1 within expression: env.PROJECT_NAME
name: staging
url: https://tiler.staging.modelmywatershed.org
with:
project-name: ${{ env.PROJECT_NAME }}
stage: staging
fd-aws-tf-modules-version: ${{ env.FILMDROP_TERRAFORM_RELEASE }}
deploy-prod:
uses: ./.github/workflows/deploy-reusable.yaml
secrets: inherit
environment:
name: prod
url: https://tiler.modelmywatershed.org
with:
project-name: ${{ env.PROJECT_NAME }}
stage: staging
fd-aws-tf-modules-version: ${{ env.FILMDROP_TERRAFORM_RELEASE }}