Skip to content

Commit

Permalink
update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
shayki5 committed Sep 27, 2023
1 parent 0ae5502 commit 885214e
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,28 @@ jobs:
steps:
- name: Pull image
run: docker pull $IMAGE_NAME
- name: Run compose
run: docker compose up docker-compose-actions.yml logs
env:
DEBUG: ""
TZ: "Asia/Jerusalem"
DAYS_BACK: ${{ github.event.inputs.daysBack }}
WORKSHEET_NAME: ${{ github.event.inputs.worksheetName }}
ACCOUNTS_TO_SCRAPE: ${{ github.event.inputs.accountsToScrape }}
ACCOUNTS_JSON: ${{ secrets.ACCOUNTS_JSON }}
TELEGRAM_API_KEY: ${{ secrets.TELEGRAM_API_KEY }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
GOOGLE_SHEET_ID: ${{ secrets.GOOGLE_SHEET_ID }}
GOOGLE_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY }}
ADE_DATABASE_NAME: ${{ secrets.ADE_DATABASE_NAME }}
ADE_TABLE_NAME: ${{ secrets.ADE_TABLE_NAME }}
ADE_INGESTION_MAPPING: ${{ secrets.ADE_INGESTION_MAPPING }}
ADE_INGEST_URI: ${{ secrets.ADE_INGEST_URI }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_APP_ID: ${{ secrets.AZURE_APP_ID }}
AZURE_APP_KEY: ${{ secrets.AZURE_APP_KEY }}
IMAGE_NAME: $IMAGE_NAME
# - name: Run compose
# run: docker compose up docker-compose-actions.yml logs
# env:
# DEBUG: ""
# TZ: "Asia/Jerusalem"
# DAYS_BACK: ${{ github.event.inputs.daysBack }}
# WORKSHEET_NAME: ${{ github.event.inputs.worksheetName }}
# ACCOUNTS_TO_SCRAPE: ${{ github.event.inputs.accountsToScrape }}
# ACCOUNTS_JSON: ${{ secrets.ACCOUNTS_JSON }}
# TELEGRAM_API_KEY: ${{ secrets.TELEGRAM_API_KEY }}
# TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
# GOOGLE_SHEET_ID: ${{ secrets.GOOGLE_SHEET_ID }}
# GOOGLE_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
# GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY }}
# ADE_DATABASE_NAME: ${{ secrets.ADE_DATABASE_NAME }}
# ADE_TABLE_NAME: ${{ secrets.ADE_TABLE_NAME }}
# ADE_INGESTION_MAPPING: ${{ secrets.ADE_INGESTION_MAPPING }}
# ADE_INGEST_URI: ${{ secrets.ADE_INGEST_URI }}
# AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
# AZURE_APP_ID: ${{ secrets.AZURE_APP_ID }}
# AZURE_APP_KEY: ${{ secrets.AZURE_APP_KEY }}
# IMAGE_NAME: $IMAGE_NAME
- name: Run scraper
run: docker run --rm
-e DEBUG
Expand Down

0 comments on commit 885214e

Please sign in to comment.