Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Build CEQR Dataset: nysdec_title_v_facility_permits #265

Build CEQR Dataset: nysdec_title_v_facility_permits

Build CEQR Dataset: nysdec_title_v_facility_permits #265

Workflow file for this run

name: Build CEQR Dataset
run-name: "Build CEQR Dataset: ${{ inputs.dataset }}"
on:
workflow_dispatch:
inputs:
dataset:
description: "Dataset to build"
type: string
required: true
publish:
description: "Should this build get assigned to Labs for review? (yes/no)"
type: boolean
required: false
default: false
jobs:
build:
if: >-
github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
env:
RECIPE_ENGINE: ${{ secrets.RECIPE_ENGINE }}
EDM_DATA: ${{ secrets.EDM_DATA }}
AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4.5.0
with:
python-version: "3.12.0-alpha.4"
- name: Install dependencies
shell: bash
run: ./ceqr setup
- name: Run recipe
shell: bash
run: ./ceqr run recipe ${{ inputs.dataset }}
- uses: JasonEtco/create-an-issue@v2
name: Create issue to review data to publish
if: inputs.publish == true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
DATASET: ${{ github.event.inputs.dataset }}
with:
filename: .github/ISSUE_TEMPLATE/build-publish.md