Ingest #285
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
--- | |
# Ingest target url list in prod environment | |
name: Ingest | |
# yamllint disable-line rule:truthy | |
on: | |
schedule: | |
- cron: '15 22 * * *' | |
workflow_dispatch: | |
jobs: | |
ingest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: run ingest cli job in chosen space | |
uses: cloud-gov/cg-cli-tools@main | |
with: | |
cf_api: https://api.fr.cloud.gov | |
cf_username: ${{ secrets.CF_USERNAME }} | |
cf_password: ${{ secrets.CF_PASSWORD }} | |
cf_org: gsatts-sitescan | |
cf_space: prod | |
cf_command: | | |
run-task site-scanner-consumer | |
--command "node dist/apps/cli/main.js ingest" | |
-k 2G -m 2G | |
--name github-action-ingest-${{ github.run_id }} |