Commit 03509803 authored by Dmytro Bogatov's avatar Dmytro Bogatov 💕

Merge branch '1-use-review-apps' into 'master'

Resolve "Use review apps"

Closes #1

See merge request !1
parents ccb40beb 7ec0734d
Pipeline #3061 passed with stages
in 1 minute and 31 seconds
stages:
- lint
- build
- build-review
- review
- release
- deploy
variables:
REPO: "dbogatov/my-cv"
include:
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-report/chktex.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-report/cspell.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-report/build.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-report/artifacts.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-review-apps/build-review.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-review-apps/review.yml'
- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/latex-review-apps/stop-review.yml'
deploy:
image: dbogatov/docker-images:alpine-extras-latest
......
FROM dbogatov/docker-images:nginx-latest
LABEL maintainer="Dmytro Bogatov <dmytro@dbogatov.org>"
ARG PROJECTNAME
ARG PROJECTURL
ARG COMMIT
WORKDIR /srv
# Copy the source
COPY document/dist/ .
RUN /pdf/build-index.sh "$PROJECTNAME" "$PROJECTURL" "$COMMIT"
CMD ["nginx", "-g", "daemon off;"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment