This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Marked Fares Worker #67075
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
name: Marked Fares Worker | |
on: | |
push: | |
branches: ["master"] | |
schedule: | |
- cron: '*/10 * * * *' # every 10 minutes | |
concurrency: | |
group: "marked-fares-worker" | |
cancel-in-progress: true | |
jobs: | |
marked-fares-worker: | |
name: marked-fares-worker | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
environment: workers | |
env: | |
PUPPETEER_SKIP_DOWNLOAD: "true" | |
VITE_SMTP_CONNECTION_STRING: ${{ secrets.VITE_SMTP_CONNECTION_STRING }} | |
VITE_FIREBASE_CONFIG_JSON: ${{ secrets.VITE_FIREBASE_CONFIG_JSON }} | |
VITE_FIREBASE_SERVICE_ACCOUNT_JSON: ${{ secrets.VITE_FIREBASE_SERVICE_ACCOUNT_JSON }} | |
VITE_SCRAPERS_URL: ${{ secrets.VITE_SCRAPERS_URL }} | |
VITE_SCRAPERS_TOKEN: ${{ secrets.VITE_SCRAPERS_TOKEN }} | |
VITE_LOKI_LOGGING_URL: ${{ secrets.VITE_LOKI_LOGGING_URL }} | |
VITE_LOKI_LOGGING_UID: marked_fares_worker | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: extractions/setup-just@v1 | |
- uses: actions/setup-node@v3 | |
with: | |
cache: 'npm' | |
- run: npm ci | |
- run: just run-marked-fares-worker |