Skip to content

Commit

Permalink
episode 891
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Jan 2, 2024
1 parent a262f99 commit a27a05c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions publisher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ ARG REV
ENV GOFLAGS="-mod=vendor"

ADD . /build

RUN \
cd /build/app &&\
go test ./...
#
#RUN \
# cd /build/app &&\
# go test ./...

RUN \
if [ -z "$CI" ] ; then echo "runs outside of CI" && version=${REV}; \
Expand Down
2 changes: 1 addition & 1 deletion publisher/app/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (d *Deploy) Do(episodeNum int) error {
d.Run(fmt.Sprintf(`git pull && git commit -am "episode %d" && git push`, episodeNum))

log.Printf("[INFO] remote site update")
d.Run("ssh [email protected]", `cd /srv/site.hugo && git pull && docker-compose run --rm hugo`)
d.Run("ssh [email protected]", `cd /srv/site.hugo && git pull && /usr/local/bin/docker-compose run --rm hugo`)

log.Printf("[INFO] create chat log")
slParams := []string{}
Expand Down

0 comments on commit a27a05c

Please sign in to comment.