From 7d99394f98d40f207a9cbbfeb9e17426ca42e63a Mon Sep 17 00:00:00 2001 From: Hails Date: Thu, 21 Sep 2023 09:50:08 -0400 Subject: [PATCH] update cron steps. --- .github/workflows/cron.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 6dd2a65..5b577fa 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -3,7 +3,7 @@ name: Cron on: schedule: # Set any time that you'd like scrapers to run (in UTC) - - cron: "1 6 * * *" + - cron: "27 6 * * *" workflow_dispatch: env: @@ -18,9 +18,9 @@ env: # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # S3_BUCKET: ${{ secrets.S3_BUCKET }} - # AZURE_ACCOUNT_KEY: ${{ secrets.AZURE_ACCOUNT_KEY }} - # AZURE_ACCOUNT_NAME: ${{ secrets.AZURE_ACCOUNT_NAME }} - # AZURE_CONTAINER: ${{ secrets.AZURE_CONTAINER }} + AZURE_ACCOUNT_KEY: ${{ secrets.AZURE_ACCOUNT_KEY }} + AZURE_ACCOUNT_NAME: ${{ secrets.AZURE_ACCOUNT_NAME }} + AZURE_CONTAINER: ${{ secrets.AZURE_CONTAINER }} # GOOGLE_APPLICATION_CREDENTIALS = os.getenv("GOOGLE_APPLICATION_CREDENTIALS") # GCS_BUCKET = os.getenv("GCS_BUCKET") # Setup Sentry, add the DSN to secrets and uncomment here @@ -32,10 +32,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Install Pipenv uses: dschep/install-pipenv-action@v1 @@ -44,15 +44,15 @@ jobs: uses: actions/cache@v1 with: path: .venv - key: pip-3.8-${{ hashFiles('**/Pipfile.lock') }} + key: pip-3.9-${{ hashFiles('**/Pipfile.lock') }} restore-keys: | - pip-3.8- + pip-3.9- pip- - name: Install dependencies run: pipenv sync env: - PIPENV_DEFAULT_PYTHON_VERSION: 3.8 + PIPENV_DEFAULT_PYTHON_VERSION: 3.9 - name: Run scrapers run: |