Skip to content

GTC-2576 Restrict queries on licensed WDPA dataset (2nd try) #1330

GTC-2576 Restrict queries on licensed WDPA dataset (2nd try)

GTC-2576 Restrict queries on licensed WDPA dataset (2nd try) #1330

Workflow file for this run

name: Plan terraform changes for base branch
on: [pull_request]
jobs:
plan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Plan production
if: success() && contains(github.base_ref, 'master')
env:
ENV: production
AWS_ACCESS_KEY_ID: ${{ secrets.aws_key_production }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_production }}
AWS_REGION: ${{ secrets.aws_region_production }}
run: ./scripts/infra plan -w ${{ github.base_ref }}
- name: Plan staging
if: success() && contains(github.base_ref, 'develop')
env:
ENV: staging
AWS_ACCESS_KEY_ID: ${{ secrets.aws_key_staging }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_staging }}
AWS_REGION: ${{ secrets.aws_region_staging }}
run: ./scripts/infra plan -w ${{ github.base_ref }}