File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ COPY --from=builder /usr/bin/caddy /usr/bin/caddy
1414
1515COPY Caddyfile /etc/caddy/Caddyfile
1616# COPY hyperbook/.hyperbook/out /srv
17- RUN git clone https://github.com/software-challenge/docs.git -b live --depth 1 /srv
17+ RUN git clone https://github.com/software-challenge/docs.git -b live --depth 1 /srv && echo $(date) > /srv/timestamp
1818
1919COPY bin/update-content.sh /
2020
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ trap onkill SIGTERM
1818ssh -S /tmp/ssh-ctrl-socket -O check $server || exit 1
1919docker login localhost:5000 || exit 1
2020
21- docker build -t docs-server --build-arg GITHUB_SECRET=" $GITHUB_SECRET " .
21+ docker build --no-cache - t docs-server --build-arg GITHUB_SECRET=" $GITHUB_SECRET " .
2222docker tag docs-server localhost:5000/docs-server
2323docker push localhost:5000/docs-server
2424ssh -S /tmp/ssh-ctrl-socket -O exit $server
You can’t perform that action at this time.
0 commit comments