Skip to content

Commit

Permalink
Use reusable 'create' flow from parenttext-core
Browse files Browse the repository at this point in the history
  • Loading branch information
istride committed Feb 14, 2024
1 parent 3fdbb92 commit bdfd211
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Create flows

on:
workflow_dispatch:
inputs:
Expand All @@ -7,26 +8,9 @@ on:
type: boolean
required: false
default: false

jobs:
pipeline:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Node dependencies
run: npm ci
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pipeline
env:
CREDENTIALS: ${{ secrets.CREDENTIALS }}
run: |
python -m parenttext_pipeline.cli
echo upload=${{ inputs.upload }}
- name: Publish output folder
uses: actions/upload-artifact@v2
with:
name: Output Files
path: output
uses: IDEMSInternational/parenttext-core/.github/workflows/create.yaml@main
secrets:
google_credentials: ${{ secrets.CREDENTIALS }}

0 comments on commit bdfd211

Please sign in to comment.