Refresh radar pipeline #56
This file contains hidden or 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
| name: Refresh radar pipeline | |
| on: | |
| schedule: | |
| - cron: "0 12 * * *" | |
| workflow_dispatch: {} | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: refresh | |
| cancel-in-progress: false | |
| jobs: | |
| refresh: | |
| runs-on: ubuntu-latest | |
| env: | |
| R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }} | |
| R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
| R2_ACCOUNT_ID: ${{ secrets.R2_ACCOUNT_ID }} | |
| R2_BUCKET: ${{ secrets.R2_BUCKET }} | |
| R2_TOKEN_VALUE: ${{ secrets.R2_TOKEN_VALUE }} | |
| MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| enable-cache: true | |
| - name: Install Python project | |
| run: uv sync | |
| - name: Greenhouse pipeline | |
| id: greenhouse | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.greenhouse | |
| - name: Ashby pipeline | |
| id: ashby | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.ashby | |
| - name: Sitemap pipeline | |
| id: sitemap | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.sitemap | |
| - name: Page pipeline | |
| id: page | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.page | |
| - name: Rippling pipeline | |
| id: rippling | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.rippling | |
| - name: Polymer pipeline | |
| id: polymer | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.polymer | |
| - name: RemoteOK pipeline | |
| id: remoteok | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.remoteok | |
| - name: 80,000 Hours pipeline | |
| id: eightythousandhours | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.eightythousandhours | |
| - name: Tech Jobs for Good pipeline | |
| id: techjobsforgood | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.techjobsforgood | |
| - name: GIS Jobs Clearinghouse pipeline | |
| id: gjc | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.gjc | |
| - name: Green Jobs Board pipeline | |
| id: greenjobsboard | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.greenjobsboard | |
| - name: Apply MotherDuck views | |
| if: always() | |
| run: | | |
| uv run python scripts/apply_company_domain_review.py | |
| uv run python scripts/apply_views.py | |
| - name: Iceberg mart writer | |
| id: iceberg_mart | |
| if: always() | |
| continue-on-error: true | |
| run: uv run python -m dream_job_radar.pipelines.iceberg_mart | |
| - name: Health check (per-slug freshness) | |
| run: uv run python scripts/health_check.py |