File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 45
45
password : ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_PAT }}
46
46
47
47
- name : Deploy score files to S3 bucket
48
+ env :
49
+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
48
50
run : |
49
51
make deploy
50
52
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ PWD=$(shell pwd)
4
4
.DEFAULT_GOAL: =build
5
5
S3_URL =https://forecast-eval.s3.us-east-2.amazonaws.com
6
6
S3_BUCKET =s3://forecast-eval
7
+ # If not already set in calling environment, set PAT to an empty value.
8
+ GITHUB_PAT? =
7
9
8
10
# Change `imageTag` during `make` call via `make <command> imageTag=<tag name>`
9
11
#
@@ -46,6 +48,7 @@ score_forecast: r_build dist pull_data
46
48
-v ${PWD} /Report:/var/forecast-eval \
47
49
-v ${PWD} /dist:/var/dist \
48
50
-w /var/forecast-eval \
51
+ -e GITHUB_PAT \
49
52
forecast-eval-build \
50
53
Rscript create_reports.R --dir /var/dist
51
54
You can’t perform that action at this time.
0 commit comments