Skip to content

Commit

Permalink
add dockerfile for generating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
meghanhickey committed Oct 5, 2023
1 parent c710152 commit d81c5a4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
COPY . /indico-client-csharp
WORKDIR /indico-client-csharp
RUN dotnet tool install docfx
RUN dotnet tool run docfx docfx_project/docfx.json

# ARG COMMIT_MSG=${git log -1 --pretty=%B}
# # use devops sa github pat to interact with readme docs repo
# WORKDIR /
# RUN git clone [email protected]:IndicoDataSolutions/indico-readme.git
# RUN git checkout -b csharp-docs
# COPY /indico-client-csharp/_site /indico-readme/sdks/csharp
# RUN git add --all && git commit -m ${COMMIT_MSG} && git push -u origin csharp-docs



0 comments on commit d81c5a4

Please sign in to comment.