-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 1.04 KB
/
run_targets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
schedule:
- cron: '*/30 * * * *'
name: Run-Targets
jobs:
Run-Temp-Logging:
runs-on: ubuntu-latest
container:
image: jaredlander/templogging:latest
env:
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}
FOLDER_NAME: ${{ secrets.FOLDER_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }}
AWS_SESSION_TOKEN: ""
ECOBEE_API_KEY: ${{ secrets.ECOBEE_API_KEY }}
ECOBEE_REFRESH_TOKEN: ${{ secrets.ECOBEE_REFRESH_TOKEN }}
steps:
- name: Run targets workflow
run: R -e "targets::tar_make()"
working-directory: /templogging