Skip to content

Commit

Permalink
fix redirect url and test docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
whitetuft committed Aug 6, 2023
1 parent 8143987 commit 51cab57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ RUN apt-get update \
RUN python3 -m pip install cftime

# TODO: uncomment when repository will be public
# WORKDIR /tmp
# RUN wget https://github.com/slarosa/pyrtlib/archive/refs/heads/main.zip && \
# unzip -a pyrtlib-main.zip && \
# cd pyrtlib-main
ADD . /home/dev/pyrtlib
WORKDIR /home/dev/pyrtlib
RUN python3 setup.py install
WORKDIR /tmp
RUN wget https://github.com/SatCloP/pyrtlib/archive/refs/heads/main.zip && \
unzip -a pyrtlib-main.zip && \
cd pyrtlib-main
# ADD . /home/dev/pyrtlib
# WORKDIR /home/dev/pyrtlib
# RUN python3 setup.py install

RUN python3 setup.py install

Expand Down
2 changes: 1 addition & 1 deletion docs/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ touch .nojekyll

# Add index.html to redirect to subfolder
cat >index.html <<EOF
<meta http-equiv="refresh" content="0; url=https://${GITHUB_REPOSITORY}.github.io/en/main/index.html">
<meta http-equiv="refresh" content="0; url=https://satclop.github.io/pyrtlib/en/main/index.html">
EOF

# Add README
Expand Down

0 comments on commit 51cab57

Please sign in to comment.