Skip to content

refactor deploy

refactor deploy #6

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:
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

View workflow run for this annotation

GitHub Actions / Release CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 17, Col: 5): Unexpected value 'uses' .github/workflows/ci.yaml (Line: 18, Col: 5): Unexpected value 'secrets'
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 }}