refactor deploy #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
environment: | ||
name: staging | ||
url: https://tiler.staging.modelmywatershed.org | ||
uses: ./.github/workflows/deploy-reusable.yaml | ||
Check failure on line 17 in .github/workflows/ci.yaml GitHub Actions / Release CIInvalid workflow file
|
||
secrets: inherit | ||
with: | ||
project-name: ${{ env.PROJECT_NAME }} | ||
stage: staging | ||
fd-aws-tf-modules-version: ${{ env.FILMDROP_TERRAFORM_RELEASE }} | ||
deploy-prod: | ||
environment: | ||
name: prod | ||
url: https://tiler.modelmywatershed.org | ||
uses: ./.github/workflows/deploy-reusable.yaml | ||
secrets: inherit | ||
with: | ||
project-name: ${{ env.PROJECT_NAME }} | ||
stage: staging | ||
fd-aws-tf-modules-version: ${{ env.FILMDROP_TERRAFORM_RELEASE }} |