Skip to content

Commit

Permalink
Revise to use GITHUB_PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Feb 21, 2024
1 parent 60f22ce commit 38aee64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN install2.r --error --skipinstalled --repos "https://packagemanager.posit.co/

# Installing Strategus & Strategus Modules - NOTE that the module path is in 2 places for now
RUN echo "INSTATIATED_MODULES_FOLDER=/home/ohdsi/strategus/modules" >> /usr/local/lib/R/etc/Renviron
ENV GITHUB_PAT=$/run/secrets/build_github_pat
ENV GITHUB_PAT=$GITHUB_PAT
RUN R <<EOF
Sys.setenv(INSTANTIATED_MODULES_FOLDER = "/home/ohdsi/strategus/modules")
remotes::install_github(repo = 'OHDSI/Strategus')
Expand Down

0 comments on commit 38aee64

Please sign in to comment.