Skip to content

Commit

Permalink
Authenticate pudl-s3-logs-sync with AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
bendnorman committed Aug 17, 2023
1 parent 89c5431 commit 95bb427
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pudl-s3-logs-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: pudl-s3-logs-sync

on:
workflow_dispatch:
push:
branches:
- rename-s3-bucket
schedule:
- cron: "0 6 * * 1-5" # Weekdays at midnight on MST

Expand All @@ -29,6 +32,13 @@ jobs:
with:
credentials_json: "${{ secrets.PUDL_S3_LOGS_SYNC_SA_KEY }}"

- name: Set up AWS CLI
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.PUDL_S3_LOGS_SYNC_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PUDL_S3_LOGS_SYNC_AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1

Expand Down

0 comments on commit 95bb427

Please sign in to comment.